Hello,
I'm developping my own app in c# and I take inspiration from this code
The problem is for the accelerometer data, It's by default configure at 2G, so I have this :
float aX = (((data[7]<<8) + data[6]) / 16384.0f);
float aY = (((data[9]<<8) + data[8])/ 16384.0f);
float aZ = (((data[11]<<8) + data[10])/ 16384.0f);
The data are aroung 4 for all the axis and not 0, that's the first issue, but the big problem is that the data jump to 0 and go up to 0.300 when I move the accelerometer to the right, and back to 4 and go down to 3.600 when moving it to the left for example.
On the android official app to data are around 0 et go to 1 and -1
If someone have a solution, that would be great ! :)
Thank you for reading