mavlink : add advanced timesync algorithm

This commit is contained in:
Mohammed Kabir
2018-03-12 01:52:03 -04:00
committed by Beat Küng
parent 6b2daef5ec
commit 39bb65ffd7
8 changed files with 424 additions and 134 deletions

4
msg/timesync_status.msg Normal file
View File

@@ -0,0 +1,4 @@
uint64 remote_timestamp # remote system timestamp (microseconds)
int64 observed_offset # raw time offset directly observed from this timesync packet (microseconds)
int64 estimated_offset # smoothed time offset between companion system and PX4 (microseconds)
uint32 round_trip_time # round trip time of this timesync packet (microseconds)