Hi, I have a doubt about timestamps values. I’m recording messages from several topics in ROS and, while in topics like /rosout I get values such as sec: 1727284512 nanosec: 127894127, in /amcl_pose topic I get sec: 158, nanosec: 577000000 at the same navigation task…Could anyone explain me the difference in format or meaning? Thanks in advance!
This is most likely because amcl
is working witht the simulation time (use_sim_time=True
) instead of a global time.
The one from /rosout
is the Linux clock, the number of seconds elapsed since it was invented, in 1970 I believe. The other is 158, so you probably had your simulation running for 158 seconds.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.