mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 01:53:33 +08:00
ekf2: fuseDeclination respect mag update_all_states
- when both mag_hdg/mag_3d are inactive we should be able to continue updating mag without any possible impact on other states
This commit is contained in:
committed by
Mathieu Bresciani
parent
9d57a3c02f
commit
2a9e205442
@@ -773,7 +773,7 @@ private:
|
||||
|
||||
// fuse magnetometer declination measurement
|
||||
// declination uncertainty in radians
|
||||
bool fuseDeclination(float decl_measurement_rad, float decl_sigma);
|
||||
bool fuseDeclination(float decl_measurement_rad, float decl_sigma, bool update_all_states = false);
|
||||
|
||||
#endif // CONFIG_EKF2_MAGNETOMETER
|
||||
|
||||
|
||||
Reference in New Issue
Block a user