How to get the euler-angles from the rotation vector (Sensor.TYPE_ROTATION_VECTOR)
问题 I rotated my android device in x direction (from -180 degree to 180 degree), see image below. And I assume only Rotation vector x value is changed. Y and z maybe have some noise, but it should be not much difference among the values. However, I receive this. Kindly see https://docs.google.com/spreadsheets/d/1ZLoSKI8XNjI1v4exaXxsuMtzP0qWTP5Uu4C3YTwnsKo/edit?usp=sharing I suspect my sensor has some problem. Any idea? Thank you very much. Jimmy 回答1: Your sensor is fine. Well, the rotation vector