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

Reject single rogue barometer readings #60

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

Conversation

bargets
Copy link

@bargets bargets commented Oct 17, 2024

This code is added to the thread that reads meaningful data from the barometer sensor, and rejects readings that differ significantly from the immediately previous reading.

Maybe having three thresholds is unnecessary because the barometer does not measure altitude itself, but instead calculates it from the other two.
This added code sticks out like a sore thumb in systems.cpp, perhaps there is a better place/way to do this, if it is necessary.

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

Successfully merging this pull request may close these issues.

1 participant