ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
round-trip time is much easier and more reliable than absolute sync, get a remote node to repeat a message back.
NTP (system time) will get you closer than raw GPS messages, usually within 10ms
If you can get identical GPS hardware at both ends and a GPS pulse-per-second (PPS) kernel driver, you can realistically get within 20uS sync between system clocks
Raspberry pi supports PPS out of the box, and a lot of cheap commercial GPS modules have at least a blinkenlight on the PPS line
Without more context, I wouldn't bother going more complex than round-trip-time