mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 19:03:33 +08:00
ekf2: add kconfig option to enable/disable AUX velocity fusion
This commit is contained in:
@@ -125,8 +125,10 @@ void Ekf::controlFusionModes(const imuSample &imu_delayed)
|
||||
// Additional data odometry data from an external estimator can be fused.
|
||||
controlExternalVisionFusion();
|
||||
|
||||
#if defined(CONFIG_EKF2_AUXVEL)
|
||||
// Additional horizontal velocity data from an auxiliary sensor can be fused
|
||||
controlAuxVelFusion();
|
||||
#endif // CONFIG_EKF2_AUXVEL
|
||||
|
||||
controlZeroInnovationHeadingUpdate();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user