可以很容易地检测到一次快速摇动,这是因为,尽管移动幅度相对较小,但是加速度比较大,足以捕捉到有用的动作。
A rapid side-to-side shaking motion is easily detected because, although the movements are relatively small, the accelerations are large enough for useful gesture acquisition.
在y方向上没有加速度,只有在x方向上移动时才有,这就是分解它的原因。
There is no acceleration in the y direction, only in x direction when it starts moving, and that's why we split it.
在手机设备移动时,内置加速度传感器报告在三维空间,沿着三个主要轴上的线性加速度改变。
As the mobile device moves, a built-in accelerometer reports linear acceleration changes along the three primary axes in three-dimensional space.
应用推荐