mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 07:13:33 +08:00
docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
This commit is contained in:
@@ -1,8 +1,35 @@
|
||||
---
|
||||
pageClass: is-wide-page
|
||||
---
|
||||
|
||||
# TimesyncStatus (UORB message)
|
||||
|
||||
**TOPICS:** timesync_status
|
||||
|
||||
## Fields
|
||||
|
||||
[source file](https://github.com/PX4/PX4-Autopilot/blob/main/msg/TimesyncStatus.msg)
|
||||
| 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 |
|
||||
| --------------------------------------------------------------- | ------- | ----- | ----------- |
|
||||
| <a href="#SOURCE_PROTOCOL_UNKNOWN"></a> SOURCE_PROTOCOL_UNKNOWN | `uint8` | 0 |
|
||||
| <a href="#SOURCE_PROTOCOL_MAVLINK"></a> SOURCE_PROTOCOL_MAVLINK | `uint8` | 1 |
|
||||
| <a href="#SOURCE_PROTOCOL_DDS"></a> SOURCE_PROTOCOL_DDS | `uint8` | 2 |
|
||||
|
||||
## Source Message
|
||||
|
||||
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/TimesyncStatus.msg)
|
||||
|
||||
::: details Click here to see original file
|
||||
|
||||
```c
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
@@ -16,5 +43,6 @@ 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)
|
||||
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
Reference in New Issue
Block a user