ros2 dds rti connector python

2 posts / 0 new
Last post
Offline
Last seen: 4 years 8 months ago
Joined: 08/06/2019
Posts: 1
Send message with dictionary of lists Python

I am using RTI to convert my ROS2 action messages into DDS messages. I receive a dictionary of lists like the following:

Organization:
5 posts / 0 new
Last post
Offline
Last seen: 5 years 7 months ago
Joined: 07/23/2018
Posts: 20
[SOLVED] Publishing an object through RTI Connector for Python

I am interfacing `ROS2` with native `RTI DDS Connector` for python where I am publishing messages in RTI connector and subscribing in ROS2.

I have the following message structure for the message named `DetectedObjectList` :

int16 id

//an array of objects of another message type

DetectedObject[ ] objects

This is interpreted as unbounded sequences in IDL.

another message named `DetectedObject` :

int16 id

string name

int16 x

int16 y

Subscribe to RSS - ros2 dds rti connector python