I am a beginner in blender. I use the serial port to connect the posture sensor with the blender. Now I have a problem: I rotate sensor around the Z axis, but in blender it rotates around the Y axis. Let the sensor rotate around the Y axis, but in blender it rotates around the Z axis. But rotate around the X axis is correct. I am using quaternion to control the bones. So, what should I change?
This is a gif of rotating the sensor around the Z axis
This is a gif of rotating the sensor around the Y axis
This is a gif of rotating the sensor around the X axis
and this is my sensor: