forked from Archive/PX4-Autopilot
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:
parent
2f52926972
commit
9e2e888f5e
|
@ -2461,7 +2461,7 @@ void EKF2::UpdateCalibration(const hrt_abstime ×tamp, 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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue