RE: [Algorithms] Vector to pitch and yaw
Brought to you by:
vexxed72
From: mark_me <ma...@so...> - 2002-04-27 07:59:05
|
Right , The terms Pitch, Yaw , and Roll are used to describe incremental changes of orientation around body space axes. But they are widely and incorrectly used to describe heading and altitude ( in geometrical language , Heading is the angle between the projection of the vector over the world space XY plane and the world space X-Axis , and Altitude is the angle between that same projection and the vector ). I even read a lot of games/graphics articles that uses Pitch , Roll and Yaw for Euler angles, which is a bigger mistake. Euler Angles could represent heading and altitude if they are applied in a certain sequence ( XYZ ) but they could never represent Pitch/Yaw ( well, unless if one of them is zero ). -----Original Message----- From: gda...@li... [mailto:gda...@li...]On Behalf Of Ron Levine Sent: April 26, 2002 8:08 PM To: Christian Lykawka Cc: gda...@li... Subject: Re: [Algorithms] Vector to pitch and yaw Christian Lykawka wrote: > > Does anyone have a function that converts a vector > to pitch and yaw angles, and vice-versa? > Please define what you mean by "pitch and yaw angles of a vector"? These do not have standard definitions. Usually one uses the terms "pitch" and "yaw" in reference to a frame, not a single vector, and the most sensible meanings of these words pertain not to angles but to changes of orientation....not quite the same thing (although that does not prevent lots of folks from using them imprecisely, so non-mathematically). Specifically, the usual meanings of "pitch" and "yaw" pertain to changes in orientation of a body referred to a set of principal axes of that body. Probably, you mean what an astronomer calls "altitude and azimuth" in discussing the vector that tells where his telescope is pointing (for some types of telescope mounting) A geographer looking at the vector from the center of the earth to a point on the surface would call the same angles "latitude and longitude", although he would allow latitude to be negative, while the astronomer would not use a negative altitude (because he would be looking at the ground, not the sky). An aviator would call these angles "attitude and heading" and that aviator would give quite different meanings to "pitch and yaw", as would the captain of a vessel on the sea, or the captain of a spacecraft; namely, those three worthies would use "pitch and yaw" to refer to changes in orientation of the craft referred to the body axes of that craft. So, if you can describe in clear geometrical language, or commonly understood geographical, astronomical, or navigational terminology, what you mean by "pitch and yaw", and further tell how the cartesian axes are related to this geometrical description, then I will give you the function. (But not tonight, because I'm off to take my sweetie to a movie) _______________________________________________ GDAlgorithms-list mailing list GDA...@li... https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=6188 |