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

Time stamps in header message is always 0

asked 2019-06-26 16:31:03 -0500

rRawCWwTKVM gravatar image

Using ROS Kinetic on Ubuntu linux. For some reason, the time stamps (sec, and nsec values) in the standard header msg always come out as 0.

Does something have to be 'enabled' somewhere?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-06-26 16:33:43 -0500

ahendrix gravatar image

ROS does not set the header timestamps automatically; the code that publishes the message has to set the timestamp.

edit flag offensive delete link more


Ah! haha. Excellent. I thought it was automatically

rRawCWwTKVM gravatar image rRawCWwTKVM  ( 2019-06-26 16:40:21 -0500 )edit

Question Tools



Asked: 2019-06-26 16:31:03 -0500

Seen: 804 times

Last updated: Jun 26 '19