Robotics StackExchange | Archived questions

hector slam turned map during mapping

I experience some map rotations using hector slam when re-entering a corridor from the other side (cf. screenshots). I use a low frequency (8hz) and 360deg laser up to 70m.

Any ideas what could be the cause? I do not think that it comes from the fact that hector slam has no loop closure algorithm. I guess (hope) that tuning an hector slam parameter would make but which one. I already tried several different configurations but this glitch always appears. I use the default hectorslam package that comes in the ROS indigo. The parameter lasermaxdist does not seem to be taken into account by hectorslam.

Everything seems ok at the beginning. This map correspond to a 50m building approx.

Mapping ok so far

Then, when entering the corridor on the upper left, it is not aligned at all with the first time we mapped it. Corners are not aligned and it is even worse while going ahead in the corridor.

Mapping error

Any idea is welcome.

Thanks

Asked by luc18 on 2015-05-28 04:58:46 UTC

Comments

hi , may i ask that how many points in the vector "ranges" of your LaserScan.msg ? thank you :)

Asked by alice222777 on 2016-04-14 12:58:15 UTC

Answers

I think there might be some problem in the tf configuration. Checkout the rqt_tf_tree for debugging.

Asked by Raman on 2015-05-28 09:54:19 UTC

Comments