-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Robot_Localization_Demo: problem with rviz2 and ekf_node Warning: TF_OLD_DATA ignoring data from the past #64
Comments
I am also getting this warning in "Adding Gazebo Plugins to a URDF" tutorial from Setting Up Odometry. |
Could you check if any Node definition ends with a comma? If you forgot the comma this could lead to an error in the joint state publisher node For instance `
` |
The issue is the the joint_state_publisher is not publishing in sim_time I managed to resolve this issue with the following code:
which adds the use_sim_time parameter to the joint_state_publisher node. |
@TanJunKiat Sorry to bother you. I updated the command (use_sim_time) in Joint_state_publisher_node , but it still showed the same warning log . Warning: TF_OLD_DATA ignoring data from the past for frame drivewhl_l_link at time 419.418000 according to authority Authority undetectable Is there any other way to avoid this ? Have a nice day!! |
@Jason-Lee0 Hello Jason. Have you tried checking your SDF?
It may be the lack of definition of the tf for the wheels. |
I confirm that you should add 'use_sim_time': True to all your nodes inside your launch file and its included launch files using: parameters=[{'use_sim_time': True}, config_ekf_yaml]. Here it comes from ekf_node and rviz2. /**: |
I agree with @Charifou. |
I am trying to follow the sam_bot tutorial but got stuck at the robot_localization demo using ekf_node. Below is the error/warning when running
ros2 launch sam_bot_description display.launch.py
By running "ros2 run tf2_ros tf2_echo odom base_link", similar errors/warning occured. In rviz the odom franme seems to drift. I reinstalled ros2, navigation2 both binary and build from source...no luck. Anyone know what the problem is?... Thanks
[rviz2-6] Possible reasons are listed at http://wiki.ros.org/tf/Errors%20explained
[rviz2-6] at line 292 in /home/xxx/ros2_humble/src/ros2/geometry2/tf2/src/buffer_core.cpp
[ekf_node-5] Warning: TF_OLD_DATA ignoring data from the past for frame drivewhl_l_link at time 755.451000 according to authority Authority undetectable
[ekf_node-5] Possible reasons are listed at http://wiki.ros.org/tf/Errors%20explained
[ekf_node-5] at line 292 in /home/xxx/ros2_humble/src/ros2/geometry2/tf2/src/buffer_core.cpp
[rviz2-6] Warning: TF_OLD_DATA ignoring data from the past for frame drivewhl_l_link at time 755.451000 according to authority Authority undetectable
[rviz2-6] Possible reasons are listed at http://wiki.ros.org/tf/Errors%20explained
[rviz2-6] at line 292 in /home/xxx/ros2_humble/src/ros2/geometry2/tf2/src/buffer_core.cpp
[ekf_node-5] Warning: TF_OLD_DATA ignoring data from the past for frame drivewhl_r_link at time 755.461000 according to authority Authority undetectable
[ekf_node-5] Possible reasons are listed at http://wiki.ros.org/tf/Errors%20explained
[ekf_node-5] at line 292 in /home/xxx/ros2_humble/src/ros2/geometry2/tf2/src/buffer_core.cpp
[rviz2-6] Warning: TF_OLD_DATA ignoring data from the past for frame drivewhl_r_link at time 755.461000 according to authority Authority undetectable
The text was updated successfully, but these errors were encountered: