mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
42 lines
1.8 KiB
Markdown
42 lines
1.8 KiB
Markdown
---
|
|
pageClass: is-wide-page
|
|
---
|
|
|
|
# GeofenceStatus (повідомлення UORB)
|
|
|
|
**TOPICS:** geofence_status
|
|
|
|
## Fields
|
|
|
|
| Назва | Тип | Unit [Frame] | Range/Enum | Опис |
|
|
| -------------------------------- | -------- | ---------------------------------------------------------------- | ---------- | --------------------------------------------------------- |
|
|
| timestamp | `uint64` | | | time since system start (microseconds) |
|
|
| geofence_id | `uint32` | | | loaded geofence id |
|
|
| status | `uint8` | | | Current geofence status |
|
|
|
|
## Constants
|
|
|
|
| Назва | Тип | Значення | Опис |
|
|
| ------------------------------------------------------------------------------------------- | ------- | -------- | ---- |
|
|
| <a id="#GF_STATUS_LOADING"></a> GF_STATUS_LOADING | `uint8` | 0 | |
|
|
| <a id="#GF_STATUS_READY"></a> GF_STATUS_READY | `uint8` | 1 | |
|
|
|
|
## Source Message
|
|
|
|
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/GeofenceStatus.msg)
|
|
|
|
:::details
|
|
Click here to see original file
|
|
|
|
```c
|
|
uint64 timestamp # time since system start (microseconds)
|
|
|
|
uint32 geofence_id # loaded geofence id
|
|
uint8 status # Current geofence status
|
|
|
|
uint8 GF_STATUS_LOADING = 0
|
|
uint8 GF_STATUS_READY = 1
|
|
```
|
|
|
|
:::
|