I’m trying to get the system clocks on both the ground station and the UAV(running arducopter) to be synchronised, ideally to sub-millisecond accuracy. The ground station connects over wifi to a companion computer (Jetson nano) which runs a mavproxy relay to the Ardupilot board connected via USB. This is also indoors, so GPS can’t be used.
I’m using the system_time module in mavproxy. (https://ardupilot.org/mavproxy/docs/modules/systemtime.html)
I’ve set BRD_RTC_TYPES to 2 on the UAV
Running the module in verbose mode, it seems to be sending and receiving packets.
When I use the Mavlink inspector, the system time (time_unix_usec) on the ardupilot remains set at 0.
Anyone have any tips on how to get this working?
Thanks in advance.