Skip to content
Snippets Groups Projects
Commit 54562b0b authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

AP_Compass: prevent bad initial values from affecting HMC5883 calibration

the first couple of values after we enter strap mode may be low, but
just above our 0.7 threshold. We now discard the first two values to
prevent these affecting the average.

Also added some commented out debug code and a comment on the scaling
of the calibration code
parent a6b6d46a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment