Ask Your Question
1

TF_OLD_DATA ignoring data from the past, when rosbag twice

asked 2018-11-21 07:21:43 -0600

zhonghao gravatar image

updated 2021-10-30 23:18:46 -0600

lucasw gravatar image

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%20expla...: 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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-03-19 13:27:29 -0600

lucasw gravatar image

updated 2019-03-19 13:30:01 -0600

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.

image description

^ 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.

edit flag offensive delete link more

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?

ticotico gravatar image ticotico  ( 2021-10-30 17:26:18 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

3 followers

Stats

Asked: 2018-11-21 07:21:43 -0600

Seen: 938 times

Last updated: Oct 30