Hi,
I have BNO055 with NDOF mode. I'm trying to use this sensors gyroscope values to move a mouse. Which I have been able to accomplished without any problem. Currently I'm using heading value translated to Cursor X value and Roll value translated to Cursor Y value. However when I increase/decrease Pitch around to 88 degrees, Roll and Pitch jumps to higher degree of values. I have tried changing axis conventions too.
I'm directly reading quaternions then do the math using the quaternions (to get the difference in rotation) and finally convert it to euler angles. So when ever I Pitch it to around 88 degrees other axis values jumps to higher values. What is the reason for this? How do I avoid this? Is there a way to only use the 2 axis I want?
I also tried quaternions->euler then euler pitch = 0 and the euler->quaternion do the math, but still same issue
My idea of using the sensor is to be able to rotate yaw 360 and roll to 180 degrees (forward 90 and backward 90) in total and pitch shouldn't affect, but it affect.
Regards