Closed dbuezas closed 3 years ago
Any updates on this?
I've looked at the code, trying to port it to golang, i don't see what _hxfilt
, _hyfilt
, _hzfilt
are as they are not declared to a given value if i'm not mistake.
Calibration functionality was removed from this library.
During calibration, the samples from the magnetometer are corrected using the scales and biases already stored.
e.g.: line 897:
This results in the new biases implicitly being relative to the old ones (which breaks them). A way to test it is to calibrate twice on a row, which results in different values.
I think the same line should be:
instead.
Amazing lib btw :)