greenhouse/rosbags/docs/examples/use_with_native.rst

11 lines
346 B
ReStructuredText
Raw Normal View History

2022-01-31 13:35:42 +01:00
Use with native stack
=====================
Messages read with rosbags are simple dataclasses that mimic the native ROS2 interface. If you want to pass those messages to the native ROS2 stack, you need to convert them into native objects first.
Message instance conversion
---------------------------
.. literalinclude:: ./use_with_native.py