mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-03-24 10:34:00 +08:00
2.3 KiB
2.3 KiB
pageClass
| pageClass |
|---|
| is-wide-page |
TimesyncStatus (UORB message)
TOPICS: timesync_status
Fields
| Name | Type | Unit [Frame] | Range/Enum | Description |
|---|---|---|---|---|
| timestamp | uint64 |
time since system start (microseconds) | ||
| source_protocol | uint8 |
timesync source | ||
| remote_timestamp | uint64 |
remote system timestamp (microseconds) | ||
| observed_offset | int64 |
raw time offset directly observed from this timesync packet (microseconds) | ||
| estimated_offset | int64 |
smoothed time offset between companion system and PX4 (microseconds) | ||
| round_trip_time | uint32 |
round trip time of this timesync packet (microseconds) |
Constants
| Name | Type | Value | Description |
|---|---|---|---|
| SOURCE_PROTOCOL_UNKNOWN | uint8 |
0 | |
| SOURCE_PROTOCOL_MAVLINK | uint8 |
1 | |
| SOURCE_PROTOCOL_DDS | uint8 |
2 |
Source Message
::: details Click here to see original file
uint64 timestamp # time since system start (microseconds)
uint8 SOURCE_PROTOCOL_UNKNOWN = 0
uint8 SOURCE_PROTOCOL_MAVLINK = 1
uint8 SOURCE_PROTOCOL_DDS = 2
uint8 source_protocol # timesync source
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)
:::