Robot Modeling and Control. Mark W. Spong
Чтение книги онлайн.
Читать онлайн книгу Robot Modeling and Control - Mark W. Spong страница 29
Example 2.5.
Suppose a rotation matrix
(2.18)
Figure 2.8 Composition of rotations about current axes.
It is important to remember that the order in which a sequence of rotations is performed, and consequently the order in which the rotation matrices are multiplied together, is crucial. The reason is that rotation, unlike position, is not a vector quantity and so rotational transformations do not commute in general.
Example 2.6.
Suppose that the above rotations are performed in the reverse order, that is, first a rotation about the current z-axis followed by a rotation about the current y-axis. Then the resulting rotation matrix is given by
(2.19)
Comparing Equations (2.18) and (2.19) we see that
2.4.2 Rotation with Respect to the Fixed Frame
Many times it is desired to perform a sequence of rotations, each about a given fixed coordinate frame, rather than about successive current frames. For example we may wish to perform a rotation about x0 followed by a rotation about y0 (and not y1!). We will refer to o0x0y0z0 as the fixed frame. In this case the composition law given by Equation (2.17) is not valid. It turns out that the correct composition law in this case is simply to multiply the successive rotation matrices in the reverse order from that given by Equation (2.17). Note that the rotations themselves are not performed in reverse order. Rather they are performed about the fixed frame instead of about the current frame.
To see this, suppose we have two frames o0x0y0z0 and o1x1y1z1 related by the rotational transformation
(2.20)
Thus, when a rotation
Example 2.7. (Rotations about Fixed Axes)
Referring to Figure 2.9, suppose that a rotation matrix
(2.21)
It is not necessary to remember the above derivation, only to note by comparing Equation (2.21) with Equation (2.18) that we obtain the same basic rotation matrices, but in the reverse order.
Figure 2.9 Composition of rotations about fixed axes.
2.4.3 Rules for Composition of Rotations
We can summarize the rule of composition of rotational transformations by the following recipe. Given a fixed frame o0x0y0z0 and a current frame o1x1y1z1, together with rotation matrix
(2.22)
If the second rotation is to be performed relative to the fixed frame then it is both confusing and inappropriate to use the notation