mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-22 14:19:57 +08:00
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 <jonspero@me.com>
This commit is contained in:
1 parent
d4099bf011
commit
7eb80a435a
1 file changed
+2
-2
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user