I'm trying to get the angle change of an android device around the Z and X axis of the device using the accelerometer. (relative to the angle of the device at the first time the application started or the calibration was done)
now i know i should do it with the gyroscope but it isn't possible because of the gyro drift. i have tried doing it with rotation matrix and the function getAngleChange() but it didn't work because that from what i understood this function gives the angle change i worlds coordinates and not in the device coordinates (which is what i need).
so it will be grate if some one could help me with this problem.
thanks.