mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 06:43:34 +08:00
ekf2-decl: do not always update tilt
This commit is contained in:
committed by
Mathieu Bresciani
parent
ef0f0884f0
commit
6ec6f1b297
@@ -668,7 +668,8 @@ private:
|
||||
|
||||
// fuse magnetometer declination measurement
|
||||
// R: declination observation variance (rad**2)
|
||||
bool fuseDeclination(const float decl_measurement_rad, const float R, bool update_all_states = false);
|
||||
bool fuseDeclination(const float decl_measurement_rad, const float R, bool update_all_states = false,
|
||||
bool update_tilt = false);
|
||||
|
||||
#endif // CONFIG_EKF2_MAGNETOMETER
|
||||
|
||||
|
||||
Reference in New Issue
Block a user