mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-03 14:01:36 +08:00
EKF: Ensure mag field state covariance data is always available for re-use
Prevents use of _saved_mag_ef_covmat and _saved_mag_bf_variance before being initialised or when stale.
This commit is contained in:
committed by
Daniel Agar
parent
8839e4e1f4
commit
708c79eb8f
@@ -674,6 +674,9 @@ private:
|
||||
// Argument is additional yaw variance in rad**2
|
||||
void increaseQuatYawErrVariance(float yaw_variance);
|
||||
|
||||
// save mag field state covariance data for re-use
|
||||
void save_mag_cov_data();
|
||||
|
||||
// uncorrelate quaternion states from other states
|
||||
void uncorrelateQuatStates();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user