ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The recommended practice is to write your library in a ROS independent manner (e.g. using a std::map in the API). Then you wrap that library in a thin layer which will map your API into ROS messages (doing the shuffling of the data from the map to the message and back).

ROS message do not support dictionaries / maps as a built in type which would make your mapping easier.