PX4-Autopilot/docs/en/msg_docs/GeofenceStatus.md
PX4BuildBot d965df930c docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-02-23 18:34:11 +00:00

41 lines
1.3 KiB
Markdown

---
pageClass: is-wide-page
---
# GeofenceStatus (UORB message)
**TOPICS:** geofence_status
## Fields
| Name | Type | Unit [Frame] | Range/Enum | Description |
| ----------- | -------- | ------------ | ---------- | -------------------------------------- |
| timestamp | `uint64` | | | time since system start (microseconds) |
| geofence_id | `uint32` | | | loaded geofence id |
| status | `uint8` | | | Current geofence status |
## Constants
| Name | Type | Value | Description |
| ------------------------------------------------- | ------- | ----- | ----------- |
| <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
```
:::