ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
3

Why does ROS_INFO_STREAM print two time stamps?

asked 2012-09-25 23:32:44 -0600

Benoit Larochelle gravatar image

updated 2014-01-28 17:13:45 -0600

ngrennan gravatar image

When I use ROS_INFO_STREAM, it prints two timestamps:

[ INFO] [1348651448.232151821, 1323877497.479939999]: Hello World!

What do they represent? I looked at the rosconsole docs, but I can't find an explanation.

I noticed this behaviour while running a bag with use_sim_time = true and --clock (if that makes any difference)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-09-26 02:19:33 -0600

The first time looks like your current local time while the second on looks like the time recorded within the bag-file

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-09-25 23:32:44 -0600

Seen: 952 times

Last updated: Sep 26 '12