android - Accelerometer's Min and Max value range and sensor data conversion -
android - Accelerometer's Min and Max value range and sensor data conversion -
i have moto g 16 gb device motorola. has lis3dh 3 axis accelerometer.
for reading max , min value of accelerometer have used apis.
getmaximumrange()
some says shows zero pick
or pick pick
but device value 39.24
so though 39.24 / 9.8 = ~4.00 s range +/- 4g
but when read x,y,z info , store in file , see values when giving max acceleration smart phone shows values 76 m/sec2
what meaning of this?
is bug of device?
how convert values in +- 2g values. algorithm wants value in +-2g format how give that?
how perform cutting of or downwards sampling of sensor info values ?
moto g has dynamic configurabale senser. configured in 4g mode. when gives more acceleration mobile changes sensor mode , switch 8g , still give more acceleration gest 16 g mode automatically. after time 4g mode.
you can have on sensocr accurcay alter callback on range change.
android c accelerometer android-sensors motorola
Comments
Post a Comment