TF_OLD_DATA ignoring data from the past, when rosbag twice
I use the rosnode to process rosbag to create my database, and I would like to feed rosbag to this node again, but the node just don't work and have the error msgs,
Warning: TF_OLD_DATA ignoring data from the past for frame depth at time 727885 according to authority unknown_publisher
Possible reasons are listed at http://wiki.ros.org/tf/Errors%20explained
According to the link above http://wiki.ros.org/tf/Errors%20explained: The fix for this is to send an Empty message the topic /reset_time. There is a button in rviz to do this.
But I dont find it in rviz, any help here?
Asked by zhonghao on 2018-11-21 08:21:43 UTC
Answers
The wiki message is somewhat unclear, especially out of context- /reset_time is only for simulators (maybe gazebo?) that support it, the rviz reset button only resets that instance of rviz http://wiki.ros.org/rviz/UserGuide#Time
The time panel also lets you reset the visualizer's internal time state -- this causes a reset of all the displays, as well as a reset of tf's internal cache of data.
^ It's in the lower left in the Time panel. If the time panel isn't there it should be possible to restore it through the Panel menu.
Asked by lucasw on 2019-03-19 13:27:29 UTC
Comments
thx! I wasn't aware of that button. However, after resetting it, I still get the warning when looping through a bag that contains TFs...any ideas?
Asked by ticotico on 2021-10-30 17:26:18 UTC
Comments