Android Accelerometer filtering?

前端 未结 3 1214
清歌不尽
清歌不尽 2021-02-02 04:31

I saw many examples about filtering Accelermeter\'s values, to cancel out the gravity (High-pass filter).

But most of them were 1st order one, which is said to be simple

3条回答
  •  萌比男神i
    2021-02-02 04:50

    You can try a higher order FIR or IIR filter which could give you a sharper frequency domain transition. But a more advanced method is to use an adaptive Kalman filter. Here's one article on accelerometers and Kalman filters.

提交回复
热议问题