android手机加速度计给出的值是多少? [英] What are the values given by the android phones accelerometer?

查看:78
本文介绍了android手机加速度计给出的值是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

加速度计给定的X,Y和Z值-它们到底是什么?它们是x,y和z轴上的加速度矢量的值吗?

The X,Y and Z values given by accelerometer - what are they exactly? Are they the values of acceleration vector in x, y and z axes?

负值是什么意思?它们表示减速吗?还是说加速度是在负轴方向上?

What do the negative values mean? Do they signify deceleration? Or do they mean that the acceleration is in the direction of the negative axes?

推荐答案

它们是x y和z轴上的加速度,其中z在屏幕外,x从左到右,y从下到上.单位是m/s ^ 2.

They're the acceleration on the x y and z axes, where z is out of the screen, x is left to right, and y is bottom to top. The units is m/s^2.

负值-表示两者.根据物理学,负轴上的减速和加速度是同一件事.

Negative values- it means both. According to physics, deceleration and acceleration in the negative axes are the same thing.

要记住的一件事-它衡量的是加速度,而不是运动.恒定速度的运动读数为0.停止时,减速时实际上读数为高读数.

One thing to keep in mind- it measures acceleration, not motion. Motion at a constant speed will read 0. Stopping will actually read a high reading, as you're decelerating.

这篇关于android手机加速度计给出的值是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆