Skip to content

Commit

Permalink
ekf2: mag control reset filtered test ratio on start (if aligning yaw)
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar committed Jun 20, 2024
1 parent dcb1103 commit 30ce560
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ void Ekf::controlMagFusion()

if (reset_heading) {
_control_status.flags.yaw_align = true;
resetAidSourceStatusZeroInnovation(aid_src);
}

_control_status.flags.mag = true;
Expand Down

0 comments on commit 30ce560

Please sign in to comment.