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

Copied answer from https://github.com/introlab/rtabmap/issues/535:

rtabmap publishes both TF and the nav_msgs/Odometry topic like this ROS tutorial.

The advantage to use the topic is to get the covariance of the pose. You can also get the twist directly. The disadvantage is when you need to synchronize with other sensors, you may not get the correct transform if the odometry topic cannot be exactly synchronized with the other sensors.

When using odom from TF, you can invert the advantages and disadvantages of the topic above. If you don't care about the covariance, use TF to get accurate transforms for a sensor's timestamp.