Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AP_NavEKF: add option to align ExtNav position when using OptFlow #26632

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rmackay9
Copy link
Contributor

@rmackay9 rmackay9 commented Mar 27, 2024

This increases "alignment" of External Nav (aka VisualOdometry) in a couple of situations.

  • EK3_SRC_OPTIONS gets a new bit which enables aligning the External Nav position to the Optical Flow based position estimate. This is useful for situations where only optical flow is being used as a backup for the external nav system and we want to avoid jumps when switching from optical flow to external nav. The downside is that any drift that has occurred while using optical flow will essentially be "locked-in". See issue Pose jump after source switching OPT_FLOW->EXT_NAV(Tertiary->Secondary) after EXT_NAV reset #23973
  • External Nav's yaw is aligned at the same time as its position and velocity are aligned. This means most users will not need to use the VisoAlign auxiliary switch any more. It is hard to imagine why users would not want to align the yaw which is why I have not hidden this new feature behind an option bit.

This has not yet been tested.

@rmackay9 rmackay9 force-pushed the viso-always-align-yaw branch from 0af744c to 26f5490 Compare November 20, 2024 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants