mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-06 14:01:35 +08:00
ekf2: mag control reset filtered test ratio on start (if aligning yaw)
This commit is contained in:
@@ -245,6 +245,7 @@ void Ekf::controlMagFusion()
|
|||||||
|
|
||||||
if (reset_heading) {
|
if (reset_heading) {
|
||||||
_control_status.flags.yaw_align = true;
|
_control_status.flags.yaw_align = true;
|
||||||
|
resetAidSourceStatusZeroInnovation(aid_src);
|
||||||
}
|
}
|
||||||
|
|
||||||
_control_status.flags.mag = true;
|
_control_status.flags.mag = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user