TF_OLD_DATA error in laser_pipeline tutorial with bagfile
Hi, I'm following this tutorial: http://wiki.ros.org/laser_pipeline/Tu...
However, I cannot see the point cloud if I try to reproduce a bagfile and in the console in which I launched the node that should convert the laser scans into a point cloud I'm getting a lot of messages like:
TF_OLD_DATA ignoring data from the past
I already used this command that should have solved the problem:
rosparam set use_sim_time true
Any ideas about how to solve this problem?
EDIT: I want to add a couple details. This is the exact error:
at line 260 in /tmp/buildd/ros-hydro-tf2-0.4.10-0precise-20140304-0005/src/buffer_core.cpp Warning: TF_OLD_DATA ignoring data from the past for frame wide_stereo_optical_frame at time 1.275e+09 according to authority /play_1407416604376477595 Possible reasons are listed at http://wiki.ros.org/tf/Errors 1.336857e-312xplained
The bagfile I'm using is the bagfile of this tutorial: http://wiki.ros.org/laser_assembler/T...
Apart from setting use_sim_time to true, I also used the "--clock" parameter when playing the bagfile. I noticed a couple interesting things:
1) the first time I launch the bag file, no error pops out in the console window of the converting node. They come out from the second run on.
2) I launched the command "rosrun tf tf_monitor odom_combined base_link" and I saw that the results were "avg = 0.0826798: max = 0.155032" that seem a little bit too high, but raising the tolerance to 1 second didn't make any difference.