mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 07:33:33 +08:00
ekf2: move drag fusion activation from AID_MASK to DRAG_CTRL
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
|
||||
void Ekf::controlDragFusion()
|
||||
{
|
||||
if ((_params.fusion_mode & SensorFusionMask::USE_DRAG) && _drag_buffer &&
|
||||
if ((_params.drag_ctrl > 0) && _drag_buffer &&
|
||||
!_control_status.flags.fake_pos && _control_status.flags.in_air) {
|
||||
|
||||
if (!_control_status.flags.wind) {
|
||||
|
||||
Reference in New Issue
Block a user