I am attempting to use output from an accelerometer moving back and forth on a single axis to calculate its current position.
I have tried using Euler integrations, but the velocity and position errors become too large too quickly. After some reading, I am wondering whether RK4 could be applied to this problem to minimise the error?
Cheers,
A.