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

TF suddenly shifts

asked 2016-03-05 04:25:56 -0600

papaclaudia gravatar image

updated 2016-03-05 04:29:00 -0600

Hi! I'm trying to make a map with hector and my problem is about TF because although I use 2D pose estimate, after a short time the axes will move suddenly. My launch file has this part inside:

<node pkg="tf" type="static_transform_publisher" name="map_to_odom" args="0.0 0.0 0.0 0 0 0.0 /odom /base_link 10"/>
<param name="tf_map_scanmatch_transform_frame_name" value="scanmatcher_frame"/>
<node pkg="tf" type="static_transform_publisher" name="base_frame_laser" args="0 0 0 0 0 0 /base_link /neato_laser 10"/>

The node that I use is given by

rosrun tf static_transform_publisher x y z yaw pitch roll frame_id child_frame_id period_in_ms

Where am I doing wrong? Also if I rotate my LIDAR a bit faster, the TF can not follow the movement, so what parameter I have to change in launch file? Thank you all.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-02-13 14:27:00 -0600

tfoote gravatar image

It looks like you're running some other nodes. And that parameter is used by some scan matcher in hector? Then it's likely that the scanmatcher is attempting to improve your localization based on matched scans and updating your map to odom frame.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2016-03-05 04:25:56 -0600

Seen: 191 times

Last updated: Feb 13 '18