mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_Compass: use LEARN_NONE on learn completion
master doesn't yet have the statistical EKF learning
This commit is contained in:
parent
75b2c8bf1b
commit
026089747d
@ -140,7 +140,7 @@ void CompassLearn::update(void)
|
|||||||
compass.set_use_for_yaw(i, true);
|
compass.set_use_for_yaw(i, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
compass.set_learn_type(Compass::LEARN_EKF, true);
|
compass.set_learn_type(Compass::LEARN_NONE, true);
|
||||||
converged = true;
|
converged = true;
|
||||||
gcs().send_text(MAV_SEVERITY_INFO, "CompassLearn: finished");
|
gcs().send_text(MAV_SEVERITY_INFO, "CompassLearn: finished");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user