/rosx_introspection

Deserialize any ROS message, without compilation time information.

Primary LanguageC++Mozilla Public License 2.0MPL-2.0

ROS X Introspection

Unified successor of the following libraries:

The library compiles either using:

  • ROS1 (catkin),
  • ROS2 (colcon/ament) or
  • without any ROS dependency (vanilla cmake).

To parse any ROS message at runtime, it requires:

  • The name of the type (for instance "sensors_msgs/JointState")
  • The definition of the type (for instance this one),
  • The raw memory buffer to be deserialized into individual key/values pairs.

The raw memory buffer is usually obtained by: