Mark W. Spong

Robot Modeling and Control


Скачать книгу

alt="numbered Display Equation"/>

      As before there are infinitely many solutions.

      2.5.2 Roll, Pitch, Yaw Angles

The 3D rotation matrices illustrate three different types of rotation angles: roll, pitch and yaw.

      We specify the order of rotation as xyz, in other words, first a yaw about x0 through an angle ψ, then pitch about the y0 by an angle θ, and finally roll about the z0 by an angle ϕ.2 Since the successive rotations are relative to the fixed frame, the resulting transformation matrix is given by

      Of course, instead of yaw-pitch-roll relative to the fixed frames we could also interpret the above transformation as roll-pitch-yaw, in that order, each taken with respect to the current frame. The end result is the same matrix as in Equation (2.39).

      The three angles ϕ, θ, and ψ can be obtained for a given rotation matrix using a method that is similar to that used to derive the Euler angles above.

      2.5.3 Axis-Angle Representation

      There are several ways in which the matrix can be derived. One approach is to note that the rotational transformation will bring the world z-axis into alignment with the vector k. Therefore, a rotation about the axis k can be computed using a similarity transformation as

      (2.40)numbered Display Equation

      where vθ = vers θ = 1 − cθ.

The 3D rotation matrices illustrate the composition of rotations about an arbitrary axis.

      In fact, any rotation matrix can be represented by a single rotation about a suitable axis in space by a suitable angle,

      (2.45)numbered Display Equation

      where k is a unit vector defining the axis of rotation, and θ is the angle of rotation about k. The pair (k, θ) is called the axis-angle representation of . Given an arbitrary rotation matrix with components rij, the equivalent angle θ and equivalent axis k are given by the expressions

numbered Display Equation

      and

      These equations can be obtained by direct manipulation of the entries of the matrix given in Equation (2.44). The axis-angle representation is not unique since a rotation of − θ about − k is the same as a rotation of θ about k, that is,

      (2.47)numbered Display Equation

      If θ = 0 then is the identity matrix and the axis of rotation is undefined.

       Example 2.9.

      Suppose is generated by a rotation of 90° about z0 followed by a rotation of 30° about y0 followed by a rotation of 60° about x0. Then

      The equivalent axis is given from Equation (