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

what is the Timestamp ?

asked 2014-08-12 12:41:09 -0500

Naz gravatar image

1-Can someone please explain what exactly is the timestamp that is sent along with every message regardless of the data type ? This number is huge and its in the range of 4.7x10^18 .

2- For synchronization between GPS and for example IMU, can we simple look for the closest Timestamp and regard them as one ?

Thanks,

Naz

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
6

answered 2014-08-12 13:00:18 -0500

bvbdort gravatar image

updated 2014-08-12 18:37:42 -0500

tfoote gravatar image

In ROS messages timestamp is taken from your system, which is unix epoch time.

Check Unix epoch time here.

For synchronisation look message_filters

Documentaiton of the datatypes are at: http://wiki.ros.org/rospy/Overview/Time and http://wiki.ros.org/rospy/Overview/Time

edit flag offensive delete link more

Comments

1

Also, if the workstation and the device are significantly off, you can sync the two with chrony. Just mentioning because it took me too long to figure out...

ahubers gravatar image ahubers  ( 2014-08-12 18:49:24 -0500 )edit
0

answered 2020-07-30 05:40:42 -0500

rsneha gravatar image

Also check this Unix Epoch Time Converter.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-08-12 12:41:09 -0500

Seen: 22,150 times

Last updated: Aug 12 '14