the order of three orthonormal vectors in rotation matrix

Started by
5 comments, last by Hodgman 6 years ago

hi guys,

  To describe the position and orientation of a rigid body in a world coordinate system, we usually attach a coordinate system to the body and then give a description of this coordinate system relative to the world coordinate system.  One way to describe the body-attached coordinate system  is write three orthonormal vectors of its three principal axes in terms of the world coordinate system.  It will be convenient if we stack these three vectors together as the column of a 3X3 matrix, we call this matrix a rotation matrix, but what's the order of the three vectors? Different orders will have different results? The determinant of the rotation matrix may be -1, that is an improper rotation matrix, but it can represent the orientation of the rigid body.  So how to determine the order of the three vectors in the rotation matrix? Anyone can clarify it? thank you! :)

one tough guy

Advertisement

X axis, then Y axis, then Z axis? 

why not x z y?:)

one tough guy

If your rotation is the identity (i.e., "don't rotate"), you need to use the identity matrix. If you read the columns of the identity matrix, you'll get (1,0,0), (0,1,0), (0,0,1). So x, y, z.

It's just a convention.

16 hours ago, flyingsalmon said:

why not x z y?:)

That's fine if your vectors are also stored in x, z, y order.

This topic is closed to new replies.

Advertisement