Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Calculate altitude with mixture of barometer and rangefinder #53

Open
ClayMav opened this issue Mar 12, 2019 · 1 comment
Open

Calculate altitude with mixture of barometer and rangefinder #53

ClayMav opened this issue Mar 12, 2019 · 1 comment
Assignees

Comments

@ClayMav
Copy link
Member

ClayMav commented Mar 12, 2019

Since the rangefinder reports the most accurate altitude, but its relative to the thing closest to the bottom of the drone, it will be inaccurate when hovering over obstacles. Find a clever way to decide when to use the rangefinder vs the barometer.

@ClayMav
Copy link
Member Author

ClayMav commented Apr 3, 2019

One strategy would be to check if altitude and barometer are within a small range of each other (basically the error of the barometer) then use the rangefinder, else use the barometer for altitude.

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

No branches or pull requests

3 participants