mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 10:46:33 +08:00
EKF: upgrade some events from into to warning status
This commit is contained in:
committed by
Daniel Agar
parent
cb8367026c
commit
90a445ddbc
+1
-1
@@ -336,7 +336,7 @@ void Ekf::controlExternalVisionFusion()
|
|||||||
|
|
||||||
// Turn off EV fusion mode if no data has been received
|
// Turn off EV fusion mode if no data has been received
|
||||||
stopEvFusion();
|
stopEvFusion();
|
||||||
ECL_INFO_TIMESTAMPED("vision data stopped");
|
ECL_WARN_TIMESTAMPED("vision data stopped");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -1611,7 +1611,7 @@ bool Ekf::resetYawToEKFGSF()
|
|||||||
// stop using the magnetometer in the main EKF otherwise it's fusion could drag the yaw around
|
// stop using the magnetometer in the main EKF otherwise it's fusion could drag the yaw around
|
||||||
// and cause another navigation failure
|
// and cause another navigation failure
|
||||||
_control_status.flags.mag_fault = true;
|
_control_status.flags.mag_fault = true;
|
||||||
ECL_INFO_TIMESTAMPED("Emergency yaw reset - mag use stopped");
|
ECL_WARN_TIMESTAMPED("Emergency yaw reset - mag use stopped");
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user