commander: report estimator mag fault detection to ground station

This commit is contained in:
bresch
2021-03-19 14:33:41 +01:00
committed by Daniel Agar
parent 2c5342acd4
commit ace6f81c93
2 changed files with 19 additions and 1 deletions
+1
View File
@@ -3809,6 +3809,7 @@ void Commander::estimator_check()
if (!mag_fault_prev && mag_fault) {
mavlink_log_critical(&_mavlink_log_pub, "Stopping compass use! Check calibration on landing");
set_health_flags(subsystem_info_s::SUBSYSTEM_TYPE_MAG, true, true, false, _status);
}
/* Check estimator status for signs of bad yaw induced post takeoff navigation failure