AP_NavEKF3: Unblock initial yaw alignment message
This commit is contained in:
parent
f81abd73d6
commit
0b96f046c2
@ -94,14 +94,14 @@ void NavEKF3_core::controlMagYawReset()
|
||||
|
||||
// Perform a reset of magnetic field states and reset yaw to corrected magnetic heading
|
||||
if (magYawResetRequest && use_compass()) {
|
||||
// set yaw from a single mag sample
|
||||
setYawFromMag();
|
||||
|
||||
// send initial alignment status to console
|
||||
if (!yawAlignComplete) {
|
||||
gcs().send_text(MAV_SEVERITY_INFO, "EKF3 IMU%u initial yaw alignment complete",(unsigned)imu_index);
|
||||
}
|
||||
|
||||
// set yaw from a single mag sample
|
||||
setYawFromMag();
|
||||
|
||||
// send in-flight yaw alignment status to console
|
||||
if (finalResetRequest) {
|
||||
gcs().send_text(MAV_SEVERITY_INFO, "EKF3 IMU%u in-flight yaw alignment complete",(unsigned)imu_index);
|
||||
|
Loading…
Reference in New Issue
Block a user