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_NavEKF3: rewrite getLLH to avoid excessive indenting #20380

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

peterbarker
Copy link
Contributor

I've had this one on the shelf for a very long time.

I rebased it again this morning and while fixing a conflict noted that in the case that we're doing the "default return is last recorded position" case we don't appear to be setting the altitude in the return object. Meaning the caller probably things we're at 0 AMSL and might choose to have the aircraft climb.

You're already pretty stuffed at this point, of course.

I'm not fixing that in this PR, but could add it in.

@peterbarker
Copy link
Contributor Author

Need to write a test to show that bug.

@peterbarker
Copy link
Contributor Author

I've confirmed the bug:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants