Galaxy Nexus: Sensor Sampling Rate becomes faster when sampling more Sensors

送分小仙女□ 提交于 2019-12-04 15:28:02

What you are seeing is a result of the "smart sensor" from Invensense, and is definitely not from a bug in your application level code. It's a bug in the implementation of platform software much lower down in the bowels of this device.

The Invensense MPU3050 chip on this phone has a Motion Processing Unit in addition to its MEMs gyroscope. It controls the accelerometer and magnetometer, coalesces the data, runs the sensor fusion, and sends the data back up to Android, where your app sees it.

From the MPU3050 datasheet:

The embedded Digital Motion Processor (DMP) is located within the MPU-30X0 and offloads computation of motion processing algorithms from the host processor. The DMP acquires data from accelerometers, gyroscopes, and additional sensors such as magnetometers, and processes the data. [..snip...]The purpose of the DMP is to offload both timing requirements and processing power from the host processor

user1970292

This is weird. I experienced the same problem too. So I created an App for developer to check this problem here.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!