09-03-2019 10:32 AM - edited 09-04-2019 09:58 AM
I am using the BNO055 in accelerometer only mode and have saved calibration offsets to EEPROM. The calibration offsets are successfully restored upon powering on the device.
Would it be possible to add a button (in software or hardware) that can be used to recalibrate the BNO? So when you press the button, the BNO resets its calibration values to 0 for system, gryo, accel, and mag and goes through the entire calibration process again. I've tried adding a button that enters a fusion mode and sets the calibration values to 0, but it seems like that isn't enough to make the BNO look for new offsets.
The ideal solution would not require me to power off the device or load a separate firmware in order to recalibrate.
EDIT: I took another look at the BNO055 Data Sheet 1.4 and saw in section 3.11.4 it mentions "the internal calibration routine". I think this calibration routine is what I would like to manually invoke.
Thank you
Solved! Go to Solution.
09-04-2019 02:49 PM
09-05-2019 06:13 AM
Hello, thank you for the reply!
That makes sense to me. Now I am trying to figure out the difference between "raw" and "expected" values. I have the accelerometer set to an acceleration range of +/- 2G and I get my readings by using:
bno.getVector(Adafruit_BNO055::VECTOR_ACCELEROMETER)
then converting them to more usable degree angles.
Is this the call to get the raw acceleration values? If not, could you point me in that direction?
Thank you
09-05-2019 11:03 AM
09-09-2019 02:37 AM
Ok I will give this some effort and let you know what happens.
Thanks!