ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

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
0

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

Comments

@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: http://wiki.ros.org/rtabmap_ros/Tutorials/SetupOnYourRobot 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
1

@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

Question Tools

2 followers

Stats

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

Seen: 1,046 times

Last updated: Jun 26 '19