commander: Only run estimator navigation checks when armed

This commit is contained in:
Thomas Debrunner
2021-10-28 18:06:31 +02:00
committed by GitHub
parent 7006b0aee9
commit 32be88404a
+1 -1
View File
@@ -3912,7 +3912,7 @@ void Commander::estimator_check()
if (run_quality_checks && _status.vehicle_type == vehicle_status_s::VEHICLE_TYPE_ROTARY_WING) {
if (_status.arming_state == vehicle_status_s::ARMING_STATE_STANDBY) {
if (_status.arming_state != vehicle_status_s::ARMING_STATE_ARMED) {
_nav_test_failed = false;
_nav_test_passed = false;