docs(geofence): move the flag rename to the upgrade guide

Also say how far Home and the rally points must be from the fence for
Return to plan a route with the pre-geofence margin.

Assisted-by: Claude:claude-fable-5-2
This commit is contained in:
jonas committed 2026-11-19 11:08:53 +01:00
1 parent 8f32b783d1
commit 3afe18b671
2 files changed
+5 -2

No files matched your search

+2 -1
View File
@@ -270,7 +270,8 @@ The figures below show an exclusion zone and an inclusion zone.
It is derived from [NAV_LOITER_RAD](../advanced_config/parameter_reference.md#NAV_LOITER_RAD) for fixed-wing and VTOL vehicles, and from twice [NAV_ACC_RAD](../advanced_config/parameter_reference.md#NAV_ACC_RAD) for multicopters.
It is not directly configurable.
- A [pre-geofence margin](../config/safety.md#pre-geofence) ([GF_PRE_MARGIN](../advanced_config/parameter_reference.md#GF_PRE_MARGIN)) is added to the safety margin, so that the route does not trigger the pre-geofence action.
A wide margin makes it more likely that a region is cut off, or that the destination lies within the margin: keep Home and the rally points well clear of it, because the autopilot then falls back to a direct path.
A wide margin makes it more likely that a region is cut off, or that the destination lies within the margin.
Keep Home and the rally points further from the fence than both margins together, because the autopilot otherwise falls back to a direct path.
### Geofence Awareness Messages
+3 -1
View File
@@ -97,6 +97,9 @@ Please continue reading for [upgrade instructions](#upgrade-guide).
Limits raised or disabled to allow large tilts, for example roll on fixed-wing vehicles, are no longer needed.
The check is disabled with `FD_TILT_ERROR` set to -1.
The `fd_roll` and `fd_pitch` fields of [FailureDetectorStatus](../msg_docs/FailureDetectorStatus.md) are replaced by `fd_tilt`.
- **The failsafe flag `geofence_breached` is renamed to `gf_breached`.**
The field of [FailsafeFlags](../msg_docs/FailsafeFlags.md) (`failsafe_flags`) is shortened to make room for the new `pre_gf_breached` flag within the logger's format limit.
ROS 2 applications and log analysis that read `geofence_breached` must use the new name.
## Other changes
@@ -147,7 +150,6 @@ Please continue reading for [upgrade instructions](#upgrade-guide).
It is set with a maximum distance and altitude from Home ([GF_PRE_MAX_HDIST](../advanced_config/parameter_reference.md#GF_PRE_MAX_HDIST), [GF_PRE_MAX_VDIST](../advanced_config/parameter_reference.md#GF_PRE_MAX_VDIST)) and with a margin to the Geofence Plan ([GF_PRE_MARGIN](../advanced_config/parameter_reference.md#GF_PRE_MARGIN)).
Outside the pre-geofence arming is denied, missions are rejected, and _Go to location_ targets are refused unless its action is Warning.
Return mode plans its route with the margin added.
The uORB failsafe flag `geofence_breached` (`FailsafeFlags`) is renamed to `gf_breached`.
- [Flight termination](../advanced_config/flight_termination.md) can now be used instead of a Descent mode as a fallback failsafe mode, allowing safer landing for unpiloted vehicles that carry a parachute.
See [Battery level failsafe](../config/safety.md#battery-level-failsafe) ([COM_LOW_BAT_ACT](../advanced_config/parameter_reference.md#COM_LOW_BAT_ACT)) and [Position Loss Failsafe Action](../config/safety.md#position-loss-failsafe-action) (new [COM_POS_FS_ACT](../advanced_config/parameter_reference.md#COM_POS_FS_ACT)). ([PX4-Autopilot#28064: feat(commander): add terminate options for critical battery and lost position failsafes](https://github.com/PX4/PX4-Autopilot/pull/28064)).
- [Failure injection](../debug/failure_injection.md) ( [SYS_FAILURE_EN](../advanced_config/parameter_reference.md#SYS_FAILURE_EN)) has been significantly extended. (PX4-Autopilot#27572, PX4-Autopilot#27832, PX4-Autopilot#27950)