refactor(navigator): call the existing geofence the emergency geofence

With two geofences, "geofence" alone no longer says which one is meant.
In SORA terms the existing geofence is the outer boundary of the
contingency volume, and leaving it calls for an emergency procedure.

The failsafe flag becomes gf_emer_breach, and the operator texts for a
breach or a refused target name the emergency geofence. GF_ACTION,
GF_MAX_HOR_DIST and GF_MAX_VER_DIST keep their names, as do the
existing geofence_result fields and event IDs.

Both flags end in "breach": with "breached" FailsafeFlags is one
character over the logger's format limit.

Assisted-by: Claude:claude-fable-5-2
Signed-off-by: jonas <jonspero@me.com>
This commit is contained in:
jonas committed 2026-11-19 17:31:14 +01:00
1 parent a62f5051d3
commit c6060f413c
15 files changed
+112 -99

No files matched your search

+2 -2
View File
@@ -53,8 +53,8 @@ bool fd_motor_stuck_failure # Motor-stuck failure during spool-up
bool fd_alt_loss # Uncommanded altitude loss (rotary-wing, altitude-controlled flight)
# Other
bool gf_breached # Geofence breached (one or multiple)
bool gf_cont_breach # Contingency geofence breached (one or multiple)
bool gf_emer_breach # Emergency geofence breached (one or multiple)
bool gf_cont_breach # Contingency geofence breached (one or multiple)
bool mission_failure # Mission failure
bool vtol_fixed_wing_system_failure # vehicle in fixed-wing system failure failsafe mode (after quad-chute)
bool wind_limit_exceeded # Wind limit exceeded