wilselby / ROS_quadrotor_simulator

Quadrotor simulator using ROS, Gazebo, and RVIZ
270 stars 125 forks source link

TF has no common time between '/world' and 'base_link #37

Open Yogi30 opened 6 years ago

Yogi30 commented 6 years ago

Unable to update multi-DOF joint 'virtual_joint': TF has no common time between '/world' and 'base_link

Have you checked out your TF tree? It should have a connection “world” broadcast by Gazebo and connected to “base_link”. This is defined in the component_snippets.xacro file in the odometry_plugin_macro. Specifically, the parent_frame_id=”world” line. This should match the same line in the kit_c_base.xacro file as well.

Make sure that in quad_3dnav.launch you are spawning the quadrotor model with the file spawn_quad_kinect_kitchen.launch. In spawn_quad_kinect_kitchen.launch, make sure the enable_ground_truth parameter is set to “true”. The spawn_quad_kinect_kitchen launch file then loads the kit_c_base.xacro file which also loads the component_snippets.xacro file.

I have checked these and everything is as you mentioned in the comment, but I still get this warning all the time.