I'm trying to integrate acceleration from an acceleraometer to find a distance travelled.
I have heard all the stories about this not being accurate but i didn't come up with the method i'm just trying to implement an algorithm to do it. I'ts justan estimate for wear rates, not positioning.
I'm working with 3dof, so i have x y and z acceleration.
at the moment i'm integrating each twice seperately to get a distance, then taking the sqrt of the sum of the squares to get the eulicidean distance travelled.
The main issue i'm having that nobody considered is that the accelerometer gives 9.81 on the z thanks to gravity, and the measurements go out the window.
Is it possible to do the eulicidean distance of the acceleration, subtract the 9.81, then do the integration to get the distance travelled?
Is this valid? Would it work?
