Need to read android sensors really fast

前端 未结 5 1377
臣服心动
臣服心动 2021-02-05 07:55

Issue:-

  1. I am developing a application which needs a new acceleration datum every 5 millisecond.

My Approach:-

5条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-05 08:18

    As I understand it, the accelerometer is very noisy and not suitable for fast operations. See the GoogleTech talk on sensor fusion at http://www.youtube.com/watch?v=C7JQ7Rpwn2k for a more authorative explanation and what you can do about it. Short explanation: Use the gyro for high speed events and the acceleromenter to correct the drift.

提交回复
热议问题