## Integrating Euler's equations for rigid body dynamics with Euler's Method

Hello,

I am trying for a couple of hours now to integrate these equations ( http://en.wikipedia.org/wiki/Euler%2...dy_dynamics%29 ) with the Euler's method: $\dot{f}$=$\partial{f}$/$\partial{t}$$\cong$$\Delta$f/$\Delta$t=(f(t+$\Delta$t)-f(t))/$\Delta$t .

I am trying to do this, because i'm hoping to use the integration algorithm to find the Euler's Angles ($\phi$, $\theta$, $\psi$) so i can visually simulate the roll, pitch and yaw angles of an aircraft (i intend to do this with information received from a micro AHRS sensor with 3 accelerometers and 3 gyrometers). I know it's not the best approach because of the singularity and the 3x3 matrix with sin and cos.

Putting it all in one line, im having problems transforming the equations in discrete time and i'm not sure if the components of the angular velocity vector ω after integration are exactly the roll,pitch and yaw that i need.

After the discretization i guess i`ll have a system with 3 differential equations that i will need to solve.

Any help is much appreciated, thank you

 PhysOrg.com science news on PhysOrg.com >> 'Whodunnit' of Irish potato famine solved>> The mammoth's lament: Study shows how cosmic impact sparked devastating climate change>> Curiosity Mars rover drills second rock target

 Tags euler, ode, pitch, roll, yaw