I'm trying to estimate the height of my device using an cheap integrated Freescale accelerometer.
First, I estimate the earth direction when measured acceleration is close to 1g, then I project the measurement on that direction and integrate twice. Very quickly the estimated height drifts.
I was thinking maybe to use some machine learning algorithm, by feeding it aligned height from video tracking as examples.
Can you suggest algorithms that would help doing that? Or any other way to make height estimation more precise?
Edit: Motion is known to be limited in a range of ±0.5m.