Hi all,
I am trying to measure the angle in on axis as precise as possible.
Currently I am using the MPU6050 and I do want to improve the measurement.
I started with my question on GitHub and Paul pointed me to this forum.
https://github.com/sparkfun/SparkFun_BN … /issues/49
Basically, I do want to determine a right triangle.
Therefore I am measuring the hypotenuse and the angle with the BNO080 SparkFun breakout board.
I think, I am suffering from the gimbal lock. Paul pointed this out and he’s probably right. My valuation is between -20 to 80° and especially around ~80° the error is noticeable.
I have to use an Arduino Due, so my computing power is limited.
Unfortunately I cannot predict in which position the device is during measurement.
I can be “flat” with y pointing to the front and x to the right, but it can also be flipped and x is pointing to the top.
The only thing I can assure, that y is pointing to the front, because the range finder is pointing in this direction.
Paul also pointed out, that it could be better if I get the raw values from the BNO and calculate the angle myself.
Can someone please explain why this would be better? I was hoping to the use the integrated ARM to load off the computing power as I cannot guarantee the time between calculations as I draw to a display …
I do have the chance to rotate the breakout board. Would it be better if I use pitch angle and not roll?
Any help is much appreciated as I noticed, that it’s getting quite complex to determine the angle precisely