Need to read android sensors really fast

前端 未结 5 1384
臣服心动
臣服心动 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:13

    have you resolved your problem? i have a similar project, to get sample at least every 10 ms (about 100 Hz), here. But, nothing change in samples that i got, even when i set setEventRate = 10 milisec.

    So i think there is any hardware limitation since i've read BMA220 datasheet (my sensor hardware) only provides 62,5 Hz for Orientation Sub-mode.

提交回复
热议问题