Android 中 Sensor.TYPE_GRAVITY 的含义
我试图弄清楚重力传感器的输出在 Android 中意味着什么。
我理解的是 X、Y 和 Z 中应用的重力,我不理解的是与加速度计传感器的区别。
我知道重力是一个保险丝传感器,它也使用陀螺仪和其他传感器...但是在重力[0]传感器中获得例如 29.4 (9.8 * 3) 的值意味着在 X 轴上施加了 3G 的力?
那么它类似于使用 Acceleration = SQRT(X^2 + Y^2 + Z^2) 但更精确?
提前致谢!吉列尔莫.
I'm trying to figure out what the meaning of the output from gravity sensors means in Android.
I understand is the gravity applied in X, Y and Z, what I don't understand is the difference with accelerometer sensor.
I know gravity is a fuse sensor which uses gyroscope as well and others...but getting for example a value of 29.4 (9.8 * 3) in the gravity[0] sensor means that there is a force of 3G applied in the X axle?
So it would similar to use acceleration = SQRT(X^2 + Y^2 + Z^2) but more precise?
Thanks in advance! Guillermo.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论