micropython-IMU / micropython-bno055

Bosch BNO055 driver for MicroPython. IMU with hardware sensor fusion.
MIT License
48 stars 9 forks source link

Support setting calibration offsets #6

Closed Matchstic closed 2 years ago

Matchstic commented 2 years ago

This PR adds support for reading (and subsequently re-writing) the current calibration offsets on the BNO055.

I've derived this code from the same approach used in:

peterhinch commented 2 years ago

This looks good, but it won't be used unless it's documented. Please amend README.md to explain its use.

Matchstic commented 2 years ago

@peterhinch Requested changes have been made. Unfortunately, my editor settings have caused some trailing spaces to be trimmed on a few lines in the README. I hope that isn't a problem!

peterhinch commented 2 years ago

OK, I've merged this. I'll repair the README and push an update.

Thank you for the contribution.

Matchstic commented 2 years ago

Apologies, I completely forgot to get back to this. Thanks for getting it merged!