1

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?

kitsch
  • 31
  • 1
  • 6
  • Possible duplicate of [Android get accelerometers on earth coordinate system](https://stackoverflow.com/questions/23701546/android-get-accelerometers-on-earth-coordinate-system) – greeble31 Nov 20 '19 at 19:28
  • And then, of course, the horizontal component would be the X and Y, which gives you west-east and south-north acceleration, respectively. – greeble31 Nov 20 '19 at 19:30

0 Answers0