AP_Compass: use LEARN_NONE on learn completion

master doesn't yet have the statistical EKF learning
This commit is contained in:
Andrew Tridgell 2018-10-19 18:36:13 +11:00
parent 75b2c8bf1b
commit 026089747d
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ void CompassLearn::update(void)
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;
gcs().send_text(MAV_SEVERITY_INFO, "CompassLearn: finished");
}