Ask Your Question
0

Why does rtabmap have the option to not use an Odom frame

asked 2020-04-23 21:54:15 -0500

mugetsu gravatar image

I noticed that rtabmap has the option to use an Odom topic instead of a TF. Why is that? Is the Odom frame optional against the standard of REP 105

edit retag flag offensive close merge delete

Comments

Not exactly sure what use case you're working on, but if your robot has encoders and is publishing on an odom topic, rtabmap can use that to better localize itself. If your robot doesn't publish to /odom, or you don't have a robot at all, rtabmap it relies on keypoint detection for its dead reckonin.

pring gravatar image pring  ( 2020-04-25 14:36:03 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-04-26 20:41:21 -0500

matlabbe gravatar image

Copied answer from https://github.com/introlab/rtabmap/i...:

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.

edit flag offensive delete link more

Comments

i see, that makes a lot sense thanks!

mugetsu gravatar image mugetsu  ( 2020-04-27 19:16:55 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2020-04-23 21:54:15 -0500

Seen: 229 times

Last updated: Apr 26 '20