ekf2: add kconfig to disable gravity fusion (#22231)

This commit is contained in:
Daniel Agar
2023-10-18 10:50:51 -04:00
committed by GitHub
parent 6eae9fb371
commit 3d238b0275
8 changed files with 67 additions and 31 deletions
+2
View File
@@ -454,8 +454,10 @@ struct parameters {
Vector3f ev_pos_body{}; ///< xyz position of VI-sensor focal point in body frame (m)
#endif // CONFIG_EKF2_EXTERNAL_VISION
#if defined(CONFIG_EKF2_GRAVITY_FUSION)
// gravity fusion
float gravity_noise{1.0f}; ///< accelerometer measurement gaussian noise (m/s**2)
#endif // CONFIG_EKF2_GRAVITY_FUSION
#if defined(CONFIG_EKF2_OPTICAL_FLOW)
int32_t flow_ctrl{0};