mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
* Add vitepress tree * Update existing workflows so they dont trigger on changes in the docs path * Add nojekyll, package.json, LICENCE etc * Add crowdin docs upload/download scripts * Add docs flaw checker workflows * Used docs prefix for docs workflows * Crowdin obvious fixes * ci: docs move to self hosted runner runs on a beefy server for faster builds Signed-off-by: Ramon Roche <mrpollo@gmail.com> * ci: don't run build action for docs or ci changes Signed-off-by: Ramon Roche <mrpollo@gmail.com> * ci: update runners Signed-off-by: Ramon Roche <mrpollo@gmail.com> * Add docs/en * Add docs assets and scripts * Fix up editlinks to point to PX4 sources * Download just the translations that are supported * Add translation sources for zh, uk, ko * Update latest tranlsation and uorb graphs * update vitepress to latest --------- Signed-off-by: Ramon Roche <mrpollo@gmail.com> Co-authored-by: Ramon Roche <mrpollo@gmail.com>
21 lines
972 B
Markdown
21 lines
972 B
Markdown
# GeofenceResult (UORB message)
|
|
|
|
[source file](https://github.com/PX4/PX4-Autopilot/blob/main/msg/GeofenceResult.msg)
|
|
|
|
```c
|
|
uint64 timestamp # time since system start (microseconds)
|
|
uint8 GF_ACTION_NONE = 0 # no action on geofence violation
|
|
uint8 GF_ACTION_WARN = 1 # critical mavlink message
|
|
uint8 GF_ACTION_LOITER = 2 # switch to AUTO|LOITER
|
|
uint8 GF_ACTION_RTL = 3 # switch to AUTO|RTL
|
|
uint8 GF_ACTION_TERMINATE = 4 # flight termination
|
|
uint8 GF_ACTION_LAND = 5 # switch to AUTO|LAND
|
|
|
|
bool geofence_max_dist_triggered # true the check for max distance from Home is triggered
|
|
bool geofence_max_alt_triggered # true the check for max altitude above Home is triggered
|
|
bool geofence_custom_fence_triggered # true the check for custom inclusion/exclusion geofence(s) is triggered
|
|
|
|
uint8 geofence_action # action to take when the geofence is breached
|
|
|
|
```
|