ekf2-bias_cal: reduce required stability period

For the mag, 30s of bias learning is a lot, given that it is only active
during turns and that it usually converges in < 5 seconds
This commit is contained in:
bresch
2023-07-06 15:04:47 +02:00
committed by Daniel Agar
parent 2f52926972
commit 9e2e888f5e
+1 -1
View File
@@ -2461,7 +2461,7 @@ void EKF2::UpdateCalibration(const hrt_abstime &timestamp, InFlightCalibration &
cal.total_time_us += timestamp - cal.last_us;
}
if (cal.total_time_us > 30_s) {
if (cal.total_time_us > 10_s) {
cal.cal_available = true;
}