update ecl/EKF with improved covariance prediction stability and change default IMU integration period 4000 us -> 2500 us

- bring in PX4/ecl#795 "EKF: Improve covariance prediction stability"
    - the ecl/EKF filter update period has changed from 8 ms to 10 ms
 - change default integration period 4000 us -> 2500 us (aligns with new EKF filter update period)
This commit is contained in:
Daniel Agar
2020-04-23 13:55:34 -04:00
committed by GitHub
parent 5819c82678
commit 31f3a21849
25 changed files with 26 additions and 26 deletions
@@ -124,7 +124,7 @@ void PX4Accelerometer::set_update_rate(uint16_t rate)
const uint32_t update_interval = 1000000 / rate;
// TODO: set this intelligently
_integrator_reset_samples = 4000 / update_interval;
_integrator_reset_samples = 2500 / update_interval;
}
void PX4Accelerometer::update(hrt_abstime timestamp_sample, float x, float y, float z)