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
+1 -1
View File
@@ -103,7 +103,7 @@ set(msg_files
tecs_status.msg
telemetry_status.msg
test_motor.msg
time_offset.msg
timesync_status.msg
transponder_report.msg
tune_control.msg
uavcan_parameter_request.msg
-1
View File
@@ -1 +0,0 @@
uint64 offset_ns # time offset between companion system and PX4, in nanoseconds
+4
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)