PX4-Autopilot/msg/timesync_status.msg
Daniel Agar 3df000f77b
[WIP]: GPS clock set time updates
- remove drivers/gps set clock callback
 - drivers/gps try to set sensor_gps timestamp_sample as closely as possible
 - move mavlink timesync to new lib/timesync library
 - sensors/vehicle_gps_position consume all sensor_gps sources and determine time GPS utc time offset using lib/timesync
 - once time offset is stable update system clock if sufficiently different
2022-01-28 13:48:35 -05:00

18 lines
537 B
Plaintext

uint64 timestamp # time since system start (microseconds)
uint8 SOURCE_UNKNOWN = 0
uint8 SOURCE_PROTOCOL_MAVLINK = 1
uint8 SOURCE_PROTOCOL_RTPS = 2
uint8 SOURCE_GPS1 = 3
uint8 SOURCE_GPS2 = 4
uint8 source # timesync source
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)
uint64 deviation
int32 sequence
bool converged