Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

sensor sampling frequency of samsung android phones

What is the sensor sampling rate of samsung galaxy pop android phone in SENSOR_DELAY_GAME.From where did I get this information?I want to use the accelerometer sensor.

Thanks in advance

like image 239
stefy abraham Avatar asked Dec 05 '25 22:12

stefy abraham


1 Answers

According to ICS sourcecode

case SENSOR_DELAY_FASTEST:
    delay = 0;
    break;
case SENSOR_DELAY_GAME:
    delay = 20000;
    break;
case SENSOR_DELAY_UI:
    delay = 66667;
    break;
case SENSOR_DELAY_NORMAL:
    delay = 200000;

those are in μs so SENSOR_DELAY_GAME would be 20ms or 50Hz

It still depends on your Hardware etc. So you might want to measure it to verify that.

like image 159
zapl Avatar answered Dec 07 '25 22:12

zapl



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!