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

Gmapping failed in long corridor using Navigation Stack

asked 2011-12-21 13:28:25 -0600

ParNurZeal gravatar image

updated 2014-01-28 17:11:01 -0600

ngrennan gravatar image


I used P3DX with Hokuyo URG-04LX limiting range to only 3 metres and gave the odometry data to Gmapping as well. I have problem in using Gmapping in long corridor where the feature look the same. For example, the left and the right side of robot is just the straight line. When I do Gmapping, even it walk through these parallel straight line for long time, it think it's in the same place and not move at all in gmapping in rviz. The map will update when it found something like doors. Thus, the robot walk for about 5-6 metres long until finding the doors but the map is 1-2 metres long.

How to fix this? or It's hard to do slam in the long corridor without distinct feature?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-12-21 19:54:53 -0600

michikarg gravatar image


long, featureless corridors generally pose problems to SLAM, especially when the range of the laser sensor is limited since the scanmatching might fail in such cases.

Do you have the same problem when not limiting the range of the Hokuyo?

edit flag offensive delete link more


The URG-04 has a guaranteed range of 4m (may be able to detect up to 5.6m), so it won't help much anyways.
AHornung gravatar image AHornung  ( 2011-12-21 20:40:39 -0600 )edit
I see. Have we had any solution to that yet? Could you suggest some?
ParNurZeal gravatar image ParNurZeal  ( 2012-01-02 19:32:39 -0600 )edit
Any solution ? I have the same problem here !
Anas gravatar image Anas  ( 2012-01-09 00:40:41 -0600 )edit

Hope someone will still see this question... I'm experiencing exactly the same problem, and I have no solution too. What I wonder is that we should be able to instruct gmapping to not make "big jumps" that clearly contradict odometry, but just minor corrections, even lower scan matching score.

jorge gravatar image jorge  ( 2012-05-13 21:04:10 -0600 )edit

Question Tools



Asked: 2011-12-21 13:28:25 -0600

Seen: 1,374 times

Last updated: Dec 21 '11