gmapping Detected jump back in time of. Clearing TF buffer.
Hi everyone
I am running gmapping with my own bag (in which I drive turtlebot with turtlebot_telop node, drive the robot go around the simulation environment.)
Then I start roscore, set use_sim_time true, run gmapping, play the bag file.
The gmapping works, but terminal sometimes outputs
[ WARN] [1583861539.918718206, 587.563370629]: Detected jump back in time of 0.000629371s. Clearing TF buffer.
It seems like there was a jump in the timestamp? It is the problem with my bag file of the gamapping settings?
Thank you!
------updates-----
I set the /use_sim_time to 0.1, now it works fine without warning.
Are you running
rosbag play
with the--clock
option?yes I did. I guess the problem is /use_sim_true. I set it to 0.1 then warning disappeared.
0.1
is not a legal value foruse_sim_time
. It's supposed to be a boolean. Not a float.Yes, I understand it is a boolean. I can't remember in which slam system, I get the /use_sim_time, got a result of 0.1. But you are right, it is a boolean.