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

Revision history [back]

click to hide/show revision 1
initial version

Time 0 means that your clock has not initialized yet. This will be returned until you receive a clock message from the simulator.

Time 0 means that your clock has not initialized yet. This will be returned until you receive a clock message from the simulator.

As recommended here: http://wiki.ros.org/Clock you should wait until the first non-zero value before doing any computations.