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

The most common reason for this is that some of your system is using simulated time and the other parts of your system are not. (Simulated time typically starts at 0 seconds and counts up. System time is counting since 1970)

The design article is here: https://design.ros2.org/articles/clock_and_time.html

Make sure that you're setting using_sim_time to true on all your nodes not just some.

For others who run into this you also will want to consider using_sim_time when playing back a bag file with the clock.