mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 01:13:35 +08:00
ekf2: remove aid src status fusion_enabled flag
This commit is contained in:
@@ -62,7 +62,6 @@ void Ekf::controlZeroInnovationHeadingUpdate()
|
||||
|
||||
if (!_control_status.flags.tilt_align || (aid_src_status.innovation_variance - obs_var) > sq(_params.mag_heading_noise)) {
|
||||
// The yaw variance is too large, fuse fake measurement
|
||||
aid_src_status.fusion_enabled = true;
|
||||
fuseYaw(aid_src_status, H_YAW);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user