2014-01-29 77 views
0

我想计算旋转后起点和位置之间的角度。在这个例子中,90度。该设备位于板上并顺时针旋转。设备不移动,只有电路板旋转。我如何计算角度?这张照片展示了我的意思。角度可以在0到360度之间。如果你有问题,请问我。 enter image description here在Android中计算旋转角度的程度?

+0

请参阅http://developer.android.com/guide/topics/sensors/sensors_motion.html – pskink

回答