0

I'm quite new to android development, and just know started to learn how to use the sensors.

I started reading about the sensors in the the developers.android site, and came across this article.

it says there that in order to get the real acceleration you should apply a high pass filter, because the sensor reads also the gravity force.

my question is: why not just subtract the gravity force (g) from the value?

4

1 回答 1

2

因为实际感应到的重力取决于您的设备与垂直方向的角度。

高通将过滤常数(和慢动作)

什么是包含指向各种资源的链接的高通和低通滤波器。

于 2012-09-27T12:15:27.673 回答