Browse Source

AP_AHRS: called boost_end() on AHRS update

mission-4.1.18
Andrew Tridgell 7 years ago
parent
commit
5ae410f7ca
  1. 4
      libraries/AP_AHRS/AP_AHRS_NavEKF.cpp

4
libraries/AP_AHRS/AP_AHRS_NavEKF.cpp

@ -80,6 +80,10 @@ void AP_AHRS_NavEKF::reset_gyro_drift(void) @@ -80,6 +80,10 @@ void AP_AHRS_NavEKF::reset_gyro_drift(void)
void AP_AHRS_NavEKF::update(bool skip_ins_update)
{
// drop back to normal priority if we were boosted by the INS
// calling delay_microseconds_boost()
hal.scheduler->boost_end();
// EKF1 is no longer supported - handle case where it is selected
if (_ekf_type == 1) {
_ekf_type.set(2);

Loading…
Cancel
Save