Ask Your Question

How can I correct odometry using rtabmap?

asked 2019-06-26 08:37:21 -0600

EdwardNur gravatar image

I know that rtabmap uses loop closure to correct the odometry error but did I turn it on, that is the question. What parameter should I turn on to activate the loop closure or is it turned on by default?

Also, having the wheel odometry, is it worth to also turn on the stereo odometry? If yes, how can I fuse them both?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-06-26 08:58:43 -0600

kosmastsk gravatar image

I think the following parameters will help you:

<param name="RGBD/ProximityBySpace" type="string" value="true"/> is for Local loop closure detection (using estimated position) with locations in WM

<param name="Reg/Strategy" type="string" value="2"/> is for Loop closure transformation: 0=Visual, 1=ICP, 2=Visual+ICP

edit flag offensive delete link more


@kosmastsk isn't ICP stands for the lidar odometry? I only have the wheel odometry

EdwardNur gravatar image EdwardNur  ( 2019-06-26 09:30:25 -0600 )edit

You're right! Take a look in here: RTAB-Map gives you the way to syncronize all of the odometry sources, or you can just ignore the laser odometry and use only the wheel odometry . You can remap the odom topic to the topic of your wheel odometry. Also, ICP is not for a specific odometry type, it is an alignment method that leads to loop closure, independent of the source of odometry

kosmastsk gravatar image kosmastsk  ( 2019-06-26 11:33:08 -0600 )edit

@kosmastsk Ok, so the second param would be value=0 as I will only use visual

EdwardNur gravatar image EdwardNur  ( 2019-06-26 12:55:58 -0600 )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



Asked: 2019-06-26 08:37:21 -0600

Seen: 339 times

Last updated: Jun 26 '19