Does gyroscope accuracy correlate with sensor delay in Android?

1.3k views Asked by At

I need very accurate rotation measurements of the gyroscope with at least a sampling rate of 50Hz (the more the better).

This is why I want to know if changing the sample rate of the gyroscope increases/decreases the accuracy of the measurements. E.g. if setting the update rate of the gyroscope lower than SENSOR_DELAY_FASTEST, does this increase the accuracy of the rotation measurements?

Thank you!

1

There are 1 answers

1
MemoryLeak On BEST ANSWER

Changing the sampling rate of the sensor only impacts the load it imposes on the processor. It won't increase or decrease the accuracy.

Sensors Overview from Android documentation says:

The delay that you specify is only a suggested delay. The Android system and other applications can alter this delay. As a best practice, you should specify the largest delay that you can because the system typically uses a smaller delay than the one you specify (that is, you should choose the slowest sampling rate that still meets the needs of your application). Using a larger delay imposes a lower load on the processor and therefore uses less power.