odometry arrow shifted in rviz

asked 2016-09-17 07:36:53 -0500

LiohAu gravatar image


I am trying to setup gmapping and I have issues with the map being generated incorrectly. It looks like I have issues in the localization process because of odometry or because of the imu.

So I started by looking at the odometry, and I noticed that when I move the robot the odometry arrow is not placed corectly near the base link.

Here is a video that shows the problem : https://www.dropbox.com/s/apm5jbxregg...

If anybody could help me to determine what's happening, that would be great :)

Also, I never used an IMU, so I don't know if the pink arrow is acting as it should be, so I am taking any advice on this topic too.

edit retag flag offensive close merge delete


As seen from the video, I can see that you are using Laser and IMU. The problem may be with the initial position of the sensor or what sensor thinks is the initial position of the sensor. Is there an offset when you spawn the robot and the odom arrow?

samtod gravatar image samtod  ( 2021-10-04 17:37:40 -0500 )edit