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

Hector SLAM+SICK (use_tf_scan_transformation true or false?)

asked 2012-11-21 11:39:05 -0600

updated 2014-01-28 17:14:20 -0600

ngrennan gravatar image


I am getting some troubles with Hector SLAM

with (use_tf_scan_transformation=true) I get this map: image description

with (use_tf_scan_transformation=false) I get this map: image description

Of course the second one is much better (in the first, it seems that hector can't do mapping longer them X feets). Anyone can help-me and explain-me why this happens?

If anyone wants to try build a map with the bag file, please download: bag file: (in this bag please ignore the map in map topic, and use the launch and consider mapHector) launch file:

We have two laser scanners, but we are interested only in Nav350Scan (which is a Sick Laser). We have developed the driver for this laser, so if you suspect that the problem is in publish data please tell-me. If anyone known other driver for this laser (Sick Nav 350 Scan) please tell advise-me.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-11-22 03:31:05 -0600

That parameter is undocumented for a reason ;) and basically only meant for debugging. If set to false, the LIDAR scan is not transformed using tf and just used as is for mapping (should work if it is parallel to the ground plane all the time and fail quickly if it experiences roll/pitch motion). It's unusual that mapping just stops when se_tf_scan_transformation is set to true however. Is there any output on the terminal?

edit flag offensive delete link more


Thanks for your answer (it helped to clarify the problem). I don't get any error output. I will explore laser node to see if there is any problem.

Filipe Santos gravatar image Filipe Santos  ( 2012-11-26 11:03:32 -0600 )edit

Question Tools

1 follower


Asked: 2012-11-21 11:39:05 -0600

Seen: 2,443 times

Last updated: Nov 22 '12