5 years, 11 months ago.

Global Rotation

Hi,

the sample program for the MPU9150 is running and i get euler angles in radiant.

why bv.x bv.y and bv.z doesn´t match the global coordinate system on the chip? e.g. bv.x is the z axis.

Vector3 bv; q1.decode(buffer); bv = q1.getEulerAngles(); debug.printf("%.2f %.2f %.2f \n", bv.x, bv.y ,bv.z);

When i rotate the sensor in z-axis it influences the x and y axis. is there any reason for this behaviour?

Question relating to:

An example program that decodes the data returned from the MPU9150 DMP DMP, example, MPU9150
Be the first to answer this question.