Ask Your Question

Revision history [back]

The both ROS masters are running at the localhost just different ports.

then you don't need chrony.

The both ROS masters are running at the localhost just different ports.

then you don't need chrony.

From the chrony website:

chrony is a versatile implementation of the Network Time Protocol (NTP). It can synchronise the system clock with NTP servers, reference clocks (e.g. GPS receiver), and manual input using wristwatch and keyboard. It can also operate as an NTPv4 (RFC 5905) server and peer to provide a time service to other computers in the network.

Note the "other computers in the network" and "synchronise [..] clock with NTP servers".

Using chrony -- or any kind of time synchronisation infrastructure -- is only necessary if you have multiple different computers on which you run ROS (and are exchanging time-sensitive data between them).