comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Quaternions to Euler Angles
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Quaternions to Euler Angles [message #39362] Wed, 12 May 2004 22:09
GrahamWilsonCA is currently offline  GrahamWilsonCA
Messages: 12
Registered: January 2003
Junior Member
Does anyone know how to convert a quaternion attitude into a roll,
pitch, yaw (in this order) and the yaw, pitch, roll (in this order)
for a 'NASA Standard Aircraft'?

http://www.euclideanspace.com/maths/geometry/rotations/euler /index.htm

I was trying to use Rick's quaternion code which pitch about x, yaw
about y, and roll about z but x and z are swapped. My naive was to
simply swap the pitch and roll on input/output but I cannot seem to
reproduce the given tables:

http://www.euclideanspace.com/maths/algebra/realNormedAlgebr a/quaternions/transforms/index.htm#sample
http://www.euclideanspace.com/maths/algebra/matrix/transform s/index.htm#sample
http://www.euclideanspace.com/maths/geometry/rotations/euler /index.htm#sample

Given that it is now very, very late and I've wasted a good few hours
trying to figure this out, I think it is time to call upon the IDL
experts...

Thanks,
Graham
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: READ_ASCII - accessing data from structures
Next Topic: graphics_level

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 16:21:53 PDT 2025

Total time taken to generate the page: 1.04453 seconds