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

Sensor Calibration Procedure #300

Open
austinhurst opened this issue May 31, 2018 · 1 comment
Open

Sensor Calibration Procedure #300

austinhurst opened this issue May 31, 2018 · 1 comment
Assignees

Comments

@austinhurst
Copy link

The calibration procedure for sensors seem to calculate the variance incorrectly.
A sensor bias is not subtracted while calculating the variance. I noticed this while working with the airspeed sensor. I am using a fork: https://github.com/BYU-AUVSI/firmware
I think the master branch here has the same issue. My airspeed sensor has a bias of about 100, which is also the allowed variance. So about half the time it doesn't calibrate, calling "Too much movement for diff pressure cal." I increased the variance allowance as a quick fix. After clearing the variance threshold it correctly accounts for the bias. The bias is set and everything works fine after that.
I think the other sensors also have this problem.

@superjax
Copy link
Contributor

Thanks @austinhurst.

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

No branches or pull requests

3 participants