Geofence - Change from "re-engage geofence failsafe every 10s when

outside the fence" to "engage geofence failsafe on transition". This
way, the pilot is not stucked in the non flight zone and can switch to
a manual mode and fly back or trigger RTL.
This commit is contained in:
bresch
2019-06-04 08:35:56 +02:00
committed by Julian Oes
parent 427b2e6636
commit f8f967f073
2 changed files with 34 additions and 38 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ private:
bool _geofence_loiter_on{false};
bool _geofence_rtl_on{false};
bool _warning_action_on{false};
hrt_abstime _last_geofence_violation{0};
bool _geofence_violated_prev{false};
FailureDetector _failure_detector;
bool _failure_detector_termination_printed{false};