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

No transform between frames /map and scanmatcher_frame

asked 2016-03-14 00:34:56 -0500

bongkw gravatar image

Hi all,

I am trying to implement hector slam with rplidar. So far I have no success in launching tutorial.launch in hector slam. I had followed the instructions in this link. Apart from changing the second last line, I have also changed the frame names according to some of the answers in this wiki.

<param name="map_frame" value="map" />
<param name="base_frame" value="base_link" />
<param name="odom_frame" value="base_link" />
<param name="pub_map_odom_transform" value="true"/>
<node pkg="tf" type="static_transform_publisher" name="base_to_laser_broadcaster" args="0 0 0 0 0 0 base_link laser 100"/>

I'll get this error after running the launch file.

{{{[ WARN] [1457932080.622102713]: No transform between frames /map and scanmatcher_frame available after 20.003506 seconds of waiting. This warning only prints once.}}}

I tried viewing the tf tree, the output I get is "No TF data received".

Appreciate any help I can get on this issue as I am new to both linux and ROS. I am running ros jade and linux unbuntu. I haven't edit any other launch file from hector slam. Thanks in advance!

edit retag flag offensive close merge delete

Comments

hello,Have you solved this problem? i am facing this problem the same as you.

linfeng gravatar image linfeng  ( 2016-04-15 22:46:18 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2016-06-03 00:45:05 -0500

gp gravatar image

Sorry for very late answer. Have you set the parameter "pub_map_scanmatch_transform" and also set the parameter "tf_map_scanmatch_transform_frame_name" as scanmatcher_frame. These parameters must be set for hector_mapping node in order to get a transform between map and scanmatcher_frame. Have a look at the details of this parameters at link.

edit flag offensive delete link more
0

answered 2016-06-03 06:18:18 -0500

Shantnu gravatar image

Please see my answer about how did I get my hector slam working: http://answers.ros.org/question/23436...

Please let me know if you are still not able to get your hector_slam working.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2016-03-14 00:34:56 -0500

Seen: 5,043 times

Last updated: Jun 03 '16