mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-12 19:03:58 -04:00
AP_NavEKF3: moved checkUpdateEarthField to be called less often
This commit is contained in:
parent
d91397f2f2
commit
5319e3910f
@ -700,6 +700,9 @@ void NavEKF3_core::UpdateFilter(bool predict)
|
|||||||
|
|
||||||
// Update the filter status
|
// Update the filter status
|
||||||
updateFilterStatus();
|
updateFilterStatus();
|
||||||
|
|
||||||
|
// check for update of earth field
|
||||||
|
checkUpdateEarthField();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Wind output forward from the fusion to output time horizon
|
// Wind output forward from the fusion to output time horizon
|
||||||
@ -725,9 +728,6 @@ void NavEKF3_core::UpdateFilter(bool predict)
|
|||||||
statesInitialised = false;
|
statesInitialised = false;
|
||||||
InitialiseFilterBootstrap();
|
InitialiseFilterBootstrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
// check for update of earth field
|
|
||||||
checkUpdateEarthField();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void NavEKF3_core::correctDeltaAngle(Vector3F &delAng, ftype delAngDT, uint8_t gyro_index)
|
void NavEKF3_core::correctDeltaAngle(Vector3F &delAng, ftype delAngDT, uint8_t gyro_index)
|
||||||
|
Loading…
Reference in New Issue
Block a user