Background : I am developing an app whose core functionality includes getting the Linear Acceleration values from an android phone, among others. I am also planning on providing Devices along with the app installations, as our target customers are mainly organizations, and the system is locally deployed, not through the store.
The dilemma : Now when choosing a device, what are the hardware sensors that are required in the device to obtain the LINEAR_ACCELERATION
metric reliably?
On searching, I found out that LINEAR_ACCELERATION
is a "fused" sensor that uses a combination of Hardware and/or software implementations to subtract the gravity factor from ACCELEROMETER
readings.
I found this here :
TYPE_LINEAR_ACCELERATION, TYPE_GRAVITY, TYPE_ROTATION_VECTOR are "fused" sensors which return respectively the linear acceleration, gravity and rotation vector (a quaternion). It is not defined how these are implemented. On some devices they are implemented in h/w, on some devices they use the accelerometer + the magnetometer, on some other devices they use the gyro.
There is not much else info on this out there. So can someone please provide more info on this?
Thanks in advance.