mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 03:13:34 +08:00
docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
This commit is contained in:
@@ -1,8 +1,28 @@
|
||||
---
|
||||
pageClass: is-wide-page
|
||||
---
|
||||
|
||||
# Ping (UORB message)
|
||||
|
||||
**TOPICS:** ping
|
||||
|
||||
## Fields
|
||||
|
||||
[source file](https://github.com/PX4/PX4-Autopilot/blob/main/msg/Ping.msg)
|
||||
| Name | Type | Unit [Frame] | Range/Enum | Description |
|
||||
| --------------- | --------- | ------------ | ---------- | -------------------------------------- |
|
||||
| timestamp | `uint64` | | | time since system start (microseconds) |
|
||||
| ping_time | `uint64` | | | Timestamp of the ping packet |
|
||||
| ping_sequence | `uint32` | | | Sequence number of the ping packet |
|
||||
| dropped_packets | `uint32` | | | Number of dropped ping packets |
|
||||
| rtt_ms | `float32` | | | Round trip time (in ms) |
|
||||
| system_id | `uint8` | | | System ID of the remote system |
|
||||
| component_id | `uint8` | | | Component ID of the remote system |
|
||||
|
||||
## Source Message
|
||||
|
||||
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/Ping.msg)
|
||||
|
||||
::: details Click here to see original file
|
||||
|
||||
```c
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
@@ -12,5 +32,6 @@ uint32 dropped_packets # Number of dropped ping packets
|
||||
float32 rtt_ms # Round trip time (in ms)
|
||||
uint8 system_id # System ID of the remote system
|
||||
uint8 component_id # Component ID of the remote system
|
||||
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
Reference in New Issue
Block a user