.. _pyexample_ros-poses-convert: ==================================================== Python example: ros-poses-convert.py ==================================================== This example shows how to convert back and forth between MRPT poses and ROS 1 or ROS 2 (both are compatible with this same code) Pose and PoseWithCovariance. .. literalinclude:: ../../python-examples/ros-poses-convert.py :language: python :linenos: Output: .. literalinclude:: ../../python-examples/ros-poses-convert.out :linenos: