Skip to content

Instantly share code, notes, and snippets.

@kashimAstro
Last active March 4, 2016 18:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kashimAstro/8ff34dcf83a59502fd0d to your computer and use it in GitHub Desktop.
Save kashimAstro/8ff34dcf83a59502fd0d to your computer and use it in GitHub Desktop.
IMU positional tracking
T = e' il tempo trascorso dall'ultimo calcolo della posizione
A = accelerazione singola asse IMU
S = vecchia velocita'
S1 = nuova velocita'
P = vecchia posizione
P1 = nuova posizione
calcoli:
S1 = S + A * T
P1 = P + S1 * T
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment