EKF transform imu message from imu_link to base_footprint Problem

asked 2014-05-20 01:01:41 -0500

Mahyar gravatar image

hi i have ros groovy and want to use kalman filter with imu and odometry. unfortunately when i launch my launch file this error accrued.

Could not transform imu message from imu_link to base_footprint

this is my laucnch file:

 <launch>
<param name="use_sim_time" value="true"/>    
  <!-- Robot pose ekf -->   
    <node pkg="robot_pose_ekf" type="robot_pose_ekf" name="robot_pose_ekf" output="screen">
    <param name="freq" value="30.0"/>
    <param name="sensor_timeout" value="1.0"/>
    <param name="publish_tf" value="true"/>
    <param name="odom_used" value="true"/>
    <param name="imu_used" value="true"/>
    <param name="vo_used" value="false"/>
    <remap from="odom" to="base_odometry/odom" />
    <remap from="imu_data" to="torso_lift_imu/data" />
  </node>      
<node pkg="rosbag" name="rosbag" type="play" args="--clock --hz 100 -d .4 /home/mahyar/Desktop/bagFiles/lightBag3Final/2014-05-18-15-06-23.bag " />      
 </launch>

this is my topics:

/base_odometry/odom
/tf
/torso_lift_imu/data

and tf tree is: http://www.docdroid.net/cewp/frames.pdf.html

when i echo /torso_lift_imu/data the frame_id is imu_link.

thank you very much for rescuing me in this awful situation

edit retag flag offensive close merge delete

Comments

1

I know ROS does not guarantee that nodes will start in the order specified in the launch file; does anyone know if the same is true for parameter setting? Have you tried starting roscore, manually setting use_sim_time, then running the node, then running the bag playback?

Tom Moore gravatar image Tom Moore  ( 2014-05-20 03:07:40 -0500 )edit
1

AFAIK you can think of the launch process as first uploading all parameters to the parameter server, then starting all nodes in the launch file (albeit in random order). Setting use_sim_time should work as in the launch file. Other question: Does the error only appear once or twice, or continuously?

Stefan Kohlbrecher gravatar image Stefan Kohlbrecher  ( 2014-05-20 03:12:52 -0500 )edit

@Tom Moore thanks for your answer, yes i tried that but the result is the same.

Mahyar gravatar image Mahyar  ( 2014-05-20 20:00:59 -0500 )edit

@Stefan Kohlbrecher thanks for your answer, its appear continuously.

Mahyar gravatar image Mahyar  ( 2014-05-20 20:02:58 -0500 )edit

@Mahyar Haave you found out the solution? I also had this problem that puzzled me for a long time.

Winston gravatar image Winston  ( 2014-09-16 09:53:18 -0500 )edit