Flight termination: lockdown if failure is detected on takeoff

During the first few seconds after takeoff, the failure detector is allowed to
trigger motor lockdown.
This is done for safety reasons to detect tipping-over or unstable
tuning gains
This commit is contained in:
bresch
2020-03-23 13:45:00 +01:00
committed by Mathieu Bresciani
parent 5babf644f0
commit c23ef0af4b
2 changed files with 33 additions and 12 deletions
+1
View File
@@ -309,6 +309,7 @@ private:
FailureDetector _failure_detector;
bool _flight_termination_triggered{false};
bool _lockdown_triggered{false};
hrt_abstime _datalink_last_heartbeat_gcs{0};