Ask Your Question
2

hector_slam tf error [closed]

asked 2011-10-05 12:54:47 -0600

bona gravatar image

Hi, does anybody try to run hector_slam with only laser scanner? The type of laser scanner is URG-04LX-UG01. I tried to run mapping_box.launch & geotiff_mapper.launch and rviz.
However, I always got the error says waitForTransform timed out...
Anyone knows how to deal with the transform problem?
Thanks a lot! I am really fresh bird with it.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by bona
close date 2015-06-24 10:07:21.016671

1 Answer

Sort by ยป oldest newest most voted
3

answered 2011-10-05 18:51:57 -0600

updated 2011-10-05 19:17:23 -0600

That error message of course is not very verbose. I just changed it to be more informative, you'll just have to update your svn working copy and rebuild.

Now for the error itself, it seems there is no transformation information available between the base_frame and the laser frame. These tutorials should give you an idea on why and how to fix that:

http://www.ros.org/wiki/navigation/Tutorials/RobotSetup/TF http://www.ros.org/wiki/hector_slam/Tutorials/SettingUpForYourRobot

The easiest way to publish such a transform in case you don't have a URDF model is to use a static_transform publisher as described here:

http://www.ros.org/wiki/tf#static_transform_publisher

edit flag offensive delete link more

Comments

Thanks a lot Stefan! You did help me a lot!
bona gravatar imagebona ( 2011-10-06 02:08:19 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2011-10-05 12:54:47 -0600

Seen: 375 times

Last updated: Oct 05 '11