0
votes

Is it possible to get acceleration only in horizontal direction irrespective of the placement of the device.

I want to calculate acceleration of moving vehicle using android device. There may be cases where device is placed in any orientation. Is there any way by which i can calculate the acceleration of vehicle using accelerometer without calibrating each time?

And then, of course, the horizontal component would be the X and Y, which gives you west-east and south-north acceleration, respectively. - greeble31