Ask Your Question

Any suggestions and recommendations for mapping long straight corridors using gmapping?

asked 2012-10-29 03:46:13 -0500

Vegeta gravatar image


I am trying to map a long straight corridor using turtlebot gmapping demo on actual robot. For a short segment of the run the robot maps the corridors nicely giving straight edges but as the distance increases, i find it hard to map the environment correctly. Either it curves out the corridor or it branch out another map out on the rviz suggesting it is not able to localize properly. I get parallel maps where the corridor branches out from the main map.

Any suggestions into improving the map? What settings are recommended. My turtlebot is properly calibrated , i know there are imu errors and odometry errors involved but how to improve on it? Does changing the topic to /odom provide better results?

I am using ROS fuerte with kinect.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-10-29 04:02:58 -0500

allenh1 gravatar image

The mapping problem has troubled robots for years now... The corridor is not a good place to map. The more landmarks present in an environment, the more accurate the map can be. You may have noticed that the results are never consistent in mapping. There are always small differences.

From my experiences with the turtlebot, the best way to improve mapping is:

  1. increase the number of particles used
  2. increase the update speed

That's about all one can do for the robot...

Best of luck,

-Hunter A.

edit flag offensive delete link more



I would also try to play around with the odometry weight parameters. I'm sure they are not optimal and at least some performance improvement could be achieved.

Lorenz gravatar image Lorenz  ( 2012-10-29 04:19:53 -0500 )edit

yes - I think the gyro is most optimal around 2.36 (If memory serves me). Try setting it to 2.40 and see what the odometry calibration says to adjust it to.

allenh1 gravatar image allenh1  ( 2012-10-29 04:30:29 -0500 )edit

I have a 250 deg/sec gyro. On calibration for 5-6 times the values were near 1.5 .. I will check if the 2.40 value makes any difference , thanks for the info..

Vegeta gravatar image Vegeta  ( 2012-10-29 16:41:22 -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


Asked: 2012-10-29 03:46:13 -0500

Seen: 1,059 times

Last updated: Oct 29 '12