You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a question for get absolute acceleration in KalmanLocationService class.
In onSensorChanged callback function: android.opengl.Matrix.multiplyMV(absAcceleration, 0, rotationMatrixInv, 0, linearAcceleration, 0);
The question is that when the user hold the phone moving, I think apart we need to do rotate from the device coordinate to global coordinate and we also need to do projection in each global coordinate axis.
But for our code, I only see the rotation code and I didn't see the projection code.
Could you tell me is there any misunderstanding of the code?
The text was updated successfully, but these errors were encountered:
BravoJason
changed the title
Question for get absolute acceleration.
Question for getting absolute acceleration.
Jul 11, 2018
I have a question for get absolute acceleration in KalmanLocationService class.
In onSensorChanged callback function:
android.opengl.Matrix.multiplyMV(absAcceleration, 0, rotationMatrixInv, 0, linearAcceleration, 0);
The question is that when the user hold the phone moving, I think apart we need to do rotate from the device coordinate to global coordinate and we also need to do projection in each global coordinate axis.
But for our code, I only see the rotation code and I didn't see the projection code.
Could you tell me is there any misunderstanding of the code?
The text was updated successfully, but these errors were encountered: