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
+3
View File
@@ -128,7 +128,10 @@ void Ekf::controlFusionModes(const imuSample &imu_delayed)
#endif // CONFIG_EKF2_DRAG_FUSION
controlHeightFusion(imu_delayed);
#if defined(CONFIG_EKF2_GRAVITY_FUSION)
controlGravityFusion(imu_delayed);
#endif // CONFIG_EKF2_GRAVITY_FUSION
#if defined(CONFIG_EKF2_EXTERNAL_VISION)
// Additional data odometry data from an external estimator can be fused.