block by micahstubbs 0d7ac58c57c9cd663de5ae136e8bc405

Inferring device position from acceleration

Full Screen

so getting device position from an accelerometer and gyroscope is, like, nontrivial, due to noise and very severe error propagation in double-integrating the sensor data. here is a good answer that will smash your dreams.

but i’m just lookin for somethin very very rough….. like, oh, you moved the phone upwards.

runge-kutta would be better than euler integration: python, javascript.

and a kalman filter might help clean up the sensor data.

ugh : )

gnight for now

forked from tophtucker‘s block: Inferring device position from acceleration

index.html