mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 21:55:34 +08:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user