[ros-users] [Discourse.ros.org] [Next Generation ROS] Anonym…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Dirk Thomas via ros-users
Date:  
To: ros-users
CC: Dirk Thomas
Subject: [ros-users] [Discourse.ros.org] [Next Generation ROS] Anonymous messages in ROS2


When you use an RMW implementation which relies on statically generated types (`rmw_connext_cpp`, `rmw_opensplice_cpp`) this is not possible since it relies on code being generated and compiled for each type.

When you use an RMW implementation which supports dynamic types the mapping happens by looking at the introspection information of the message type and using an API which handles each field individually (`rmw_fastrtps_cpp`, `rmw_connext_dynamic_cpp` [this one is currently not maintained and will likely not work with the current state of ROS 2 but would need to be updated]). In that case it should be possible to pass arbitrary types to the API as long as a corresponding introspection description of the message is provided with it (which is basically an object representation of the message). We haven't tried this though so it might be "bumpy" if you go ahead with this.





---
[Visit Topic](https://discourse.ros.org/t/anonymous-messages-in-ros2/3930/2) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>