Im using this robot_lokalization package for the linear velocity. As only sensor input in my case is IMU. I configure the parameters and set the frames as follow
map_frame: map
odom_frame: odom
base_link_frame: /thrbot/base_link
world_frame: odom
The launch file is the following one
<launch>
<node pkg="robot_localization" type="ekf_localization_node" name="ekf_se" clear_params="true">
<rosparam command="load" file="$(find robot_localization)/params/ekf_template.yaml" />
<param name="odom_used" value="false"/>
</node>
<node pkg="tf" type="static_transform_publisher" name="base_link_to_imu" args="0 0 0 0 0 0 /thrbot/base_link /thrbot/imu_link 100" />
</launch>
The robot base_link frame is thrbot/base_link
the IMU is thrbot/imu_link
Here is the photo of the TF without using the package
. As can see TF is good. But when using the package my TF is broken as can see here
. Any help how to fix it?
Thanks