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

EKF: fix bug preventing takeoff in loiter with optical flow #6135

Merged
merged 2 commits into from
Apr 28, 2017

Conversation

priseborough
Copy link
Contributor

Using the range finder as the primary altitude source was causing the terrain validity to report as false. This in turn caused the optical flow to report its position estimate as invalid which prevented the copter from arming in loiter when using only optical flow.

Fixes bug that causes relative position status to report as false when using optical flow and using range finder as the primary height sensor.
Fixes bug that causes relative position status to report as false when using optical flow and using range finder as the primary height sensor.
@rmackay9
Copy link
Contributor

ah wonderful, thanks!

@OXINARF OXINARF merged commit 1301b97 into ArduPilot:master Apr 28, 2017
@OXINARF
Copy link
Member

OXINARF commented Apr 28, 2017

Looks good to me. Merged, thanks!

@hdtechk
Copy link
Contributor

hdtechk commented May 1, 2017

Is this the reason I'm having issues getting solo to arm green cube and Philips blog guide

@rmackay9
Copy link
Contributor

rmackay9 commented May 1, 2017

@hdtechk, it's unlikely to be related I think unless you're using an optical flow sensor.
Normally the HUD will display the reason for an arming failure.. but you probably already know that.

@priseborough priseborough deleted the pr-ekfBugFixes branch May 6, 2017 23:15
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

4 participants