I am not sure where to post this question, if it is not appropriate here can you suggest where shallI post it to?
I have a Cube with dimension of x,y,z. I am trying to do some integration to the accelerometer value. The problem I have now is that I can't assume that I should remove the gravity of 9.81m/s^2 from say in my case, Y direction only, because when moving in a non orthogonal line, the gravity is activity not only on Y, but also in X and Z.
(TOP) How the perfect movement should have therefore gravity in only Y direction (BOTTOM) Real movement
I have an Euler angle to estimate the amount of rotation from each axis, but I am not sure on how to deduct the gravity accurately in this case.