From 7eb80a435aa814a29a6df81f803206e554c8b72b Mon Sep 17 00:00:00 2001 From: jonas Date: Fri, 20 Nov 2026 12:22:37 +0100 Subject: [PATCH] fix(commander): drop approaching from the emergency geofence breach text The text dates from the geofence breach prediction, which could trigger before the vehicle crossed the fence. The prediction was removed in #27465, so the emergency geofence only triggers once the vehicle is outside. The contingency geofence keeps the word: it triggers on the way to the fence. Assisted-by: Claude:claude-fable-5-2 Signed-off-by: jonas --- .../commander/HealthAndArmingChecks/checks/geofenceCheck.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/commander/HealthAndArmingChecks/checks/geofenceCheck.cpp b/src/modules/commander/HealthAndArmingChecks/checks/geofenceCheck.cpp index de43cdae087..3b58cb3e7b4 100644 --- a/src/modules/commander/HealthAndArmingChecks/checks/geofenceCheck.cpp +++ b/src/modules/commander/HealthAndArmingChecks/checks/geofenceCheck.cpp @@ -97,10 +97,10 @@ void GeofenceChecks::checkAndReport(const Context &context, Report &reporter) */ reporter.armingCheckFailure(NavModes::All, health_component_t::system, events::ID("check_gf_violation_custom_gf"), - events::Log::Error, "Emergency geofence breach: approaching or outside the fence"); + events::Log::Error, "Emergency geofence breach: outside the fence"); if (reporter.mavlink_log_pub()) { - mavlink_log_critical(reporter.mavlink_log_pub(), "Emergency geofence: approaching or outside the fence\t"); + mavlink_log_critical(reporter.mavlink_log_pub(), "Emergency geofence: outside the fence\t"); } } }