运动传感器返回的 RotationMatrix 不应该等于使用来自同一运动读数的 Yaw、Pitch 和 Roll 值创建的矩阵吗?
具有以下代码:
MotionReading mr = motion.CurrentValue;
Matrix m1 = mr.Attitude.RotationMatrix;
var yaw = mr.Attitude.Yaw;
var pitch = mr.Attitude.Pitch;
var roll = mr.Attitude.Roll;
Matrix m2 = Matrix.CreateFromYawPitchRoll(yaw, pitch, roll);
m1和m2不应该相等吗?我在那里想念什么?