mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 01:17:51 +08:00
timesync: extend timesync_status message with protocol source field and enum
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
|
||||
uint8 SOURCE_PROTOCOL_MAVLINK = 0
|
||||
uint8 SOURCE_PROTOCOL_RTPS = 1
|
||||
uint8 source_protocol # timesync source. Source can be MAVLink or the microRTPS bridge
|
||||
|
||||
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)
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user