ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Rtab map stereo visual odometry pose scale?

asked 2020-04-16 17:28:25 -0500

3bkr gravatar image

Hello I'm kind of new to ROS, I'm trying to use the stereo visual odometry of RTAB map to produce odometry for localization, I have tried it on gazebo, the pose in the odom topic is translated in gazebo as one grid cell, what i don't understand is what is the ground truth for the pose when using real stereo camera? is it 1 meter for every change in X or Y? and how can i specify the unit of the pose?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2020-04-17 17:21:53 -0500

matlabbe gravatar image

It will be the units used during the calibration of the stereo camera (checkboard size). In general, the units will be in meters.

edit flag offensive delete link more


Thank youu

3bkr gravatar image 3bkr  ( 2020-04-18 06:16:17 -0500 )edit

Hello again, I have tried using a stereo camera and i have a problem, the scale is not logical on high speed, i have tried moving in a straight line in the X direction for 100 meters on a speed 40 km/h and it gives not logical numbers, is that normal or I have a problem? Thanks in advance

3bkr gravatar image 3bkr  ( 2020-04-19 06:48:11 -0500 )edit

It could be a tracking problem, but units should always be the same. What kind of camera do you use? If the cameras are not synchronized, it may affect the scale when moving.

matlabbe gravatar image matlabbe  ( 2020-04-21 10:00:02 -0500 )edit

Hello thanks alot for your reply What do you mean by tracking problem? I’m using two synchronized leopard imaging cameras for stereo and for the calibration i used the camera calibration package

3bkr gravatar image 3bkr  ( 2020-05-05 18:30:47 -0500 )edit

If visual odometry fails to or wrongly match features, it could create wrong transformations. Maybe I didn't understand what you mean by "it gives not logical numbers".

matlabbe gravatar image matlabbe  ( 2020-05-12 11:34:51 -0500 )edit

Sorry i meant the result is not logical, for example i drive for 100 meters in a straight line so the X in pose is supposed to be 100 in the odom topic but the result is 2

3bkr gravatar image 3bkr  ( 2020-05-12 11:45:19 -0500 )edit

do you have a database to share?

matlabbe gravatar image matlabbe  ( 2020-05-13 12:28:13 -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

1 follower


Asked: 2020-04-16 17:28:25 -0500

Seen: 176 times

Last updated: Apr 17 '20