Re: rotation matrix to Yaw-Pitch-Roll angles
- To: mathgroup at smc.vnet.net
- Subject: [mg20459] Re: rotation matrix to Yaw-Pitch-Roll angles
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 27 Oct 1999 02:04:35 -0400
- Organization: Universitaet Leipzig
- References: <7v3ddk$62l@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, the SurfaceOfRevolution package has the code inside look for the rotationmatrix[] function. It is in the private section but you may copy the code pice. Hope that helps Jens "Gil C." wrote: > > Hello, > I know this question was asked before, but I could not find an > answer... > Having the definition of an object's orientation in space (world XYZ > coordinate system), how do I represent its orientation as > Yaw-Pitch-Roll angles ? > I am looking for the formulas. > > The rotation matrix is: > 3 elements describing the cosine of the angle between X axis, Y axis > and Z axis of the object and the X of the "world" coordinate system. > next 3 elements are for the object's Y axis. > Last 3 are for Z axis. > > Thanks in advance, > Gil.