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

hector slam turned map during mapping

asked 2015-05-28 04:59:52 -0500

luc18 gravatar image

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 hector_slam package that comes in the ROS indigo. The parameter laser_max_dist does not seem to be taken into account by hector_slam.

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.


edit retag flag offensive close merge delete


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

alice222777 gravatar image alice222777  ( 2016-04-14 12:58:15 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-05-28 09:54:19 -0500

Raman gravatar image

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

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-05-28 04:58:46 -0500

Seen: 422 times

Last updated: May 28 '15