How do I set tf for hector slam correctly?

asked 2019-09-21 06:03:26 -0500

navidzarrabi gravatar image

updated 2019-09-21 06:05:08 -0500

Hello, I want to create a launch file to set up tf for my robot without odom frame as said in link below:

http://library.isr.ist.utl.pt/docs/ro...

<launch>

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

</launch>

After I launch this file, rqt_tf_tree only shows base_frame and laser. Why is this happening?

edit retag flag offensive close merge delete