Hi, So I'm working on a project where my main goal is to measure the absolute knee angle using two BNO055 sensors using arduino, which I managed to figure out. I first normalized quaternions and then used this formula to get the angle between two sensors: a=2*acos(abs(w1*w2+x1*x2+y1*y2+z1*z2)).
I get pretty good values but not so accurate (an error of 5-15 degrees).
I was reading on the internet that the magnetometer might be causing the inaccurate values (I did calibrate it, but still getting wrong values). My question is if someone can help me how to turn off the magnetometer from my sensors, I read that turning it off will give you more accurate values. I tried to search on the internet without success. I found a datasheet from Bosch which showed the configurations, table 3-10 on page 29. https://cdn-shop.adafruit.com/datasheets/BST_BNO055_DS000_12.pdf
However I did not fully understand how to edit the magnetometer configuration. Is there anyone who knows how I can suspend or put the magnetometer to sleep ? Would really appreciate help or guidance. I am very new in this field someone can help me with that.
Thank you
I get pretty good values but not so accurate (an error of 5-15 degrees).
I was reading on the internet that the magnetometer might be causing the inaccurate values (I did calibrate it, but still getting wrong values). My question is if someone can help me how to turn off the magnetometer from my sensors, I read that turning it off will give you more accurate values. I tried to search on the internet without success. I found a datasheet from Bosch which showed the configurations, table 3-10 on page 29. https://cdn-shop.adafruit.com/datasheets/BST_BNO055_DS000_12.pdf
However I did not fully understand how to edit the magnetometer configuration. Is there anyone who knows how I can suspend or put the magnetometer to sleep ? Would really appreciate help or guidance. I am very new in this field someone can help me with that.
Thank you