mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
39 lines
2.1 KiB
Markdown
39 lines
2.1 KiB
Markdown
---
|
|
pageClass: is-wide-page
|
|
---
|
|
|
|
# Ping (UORB message)
|
|
|
|
**TOPICS:** ping
|
|
|
|
## Fields
|
|
|
|
| Назва | Тип | Unit [Frame] | Range/Enum | Опис |
|
|
| ------------------------------------ | --------- | ---------------------------------------------------------------- | ---------- | --------------------------------------------------------- |
|
|
| 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)
|
|
uint64 ping_time # Timestamp of the ping packet
|
|
uint32 ping_sequence # Sequence number of the ping packet
|
|
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
|
|
```
|
|
|
|
:::
|