hello, do you know how get accelerometer values without gravity?
if i use the example, values are with gravity level; i need this value without gravity
Pass 10 for the sensor type parameter. It is the value of the linear acceleration sensor. It is the same as the acceleration sensor without the gravity.
thanks Erel, it works, but probably my question was not so exact.
Whit this values i have a data similar to ROTATION_VECTOR and not a real G-force (if i move the device 40-50 degree on the left or right, the x or z values changes but after the real acceleration when i stop the device, values must go to "0" if device is stopped i must have "0"... no mouvment and no g-force)
do you know how i can get this values?
thanks and sorry for my question not so accurate
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.