Spong 1
Spong 1
Spong 1
$
28. Using Q = cos 2 , nx sin 2 , ny sin 2 , nz sin 2 , and the results from Section
2.5.3, determine the rotation matrix R that corresponds to the rotation
represented by the quaternion (q0 , q1 , q2 , q3 ).
29. Determine the quaternion Q that represents the same rotation as given
by the rotation matrix R.
30. The quaternion Q = (q0 , q1 , q2 , q3 ) can be thought of as having a scalar
component q0 and a vector component = (q1 , q2 , q3 )T . Show that the
product of two quaternions, Z = XY is given by
z0
z
= x0 y0 xT y
= x0 y + y0 x + x y,
Hint: perform the multiplication (x0 +ix1 +jx2 +kx3 )(y0 +iy1 +jy2 +ky3 )
and simplify the result.
31. Show that QI = (1, 0, 0, 0) is the identity element for unit quaternion
multiplication, i.e., that QQI = QI Q = Q for any unit quaternion Q.
32. The conjugate Q of the quaternion Q is defined as
Q = (q0 , q1 , q2 , q3 )
Show that Q is the inverse of Q, i.e., that Q Q = QQ = (1, 0, 0, 0).
33. Let v be a vector whose coordinates are given by (vx , vy , vz )T . If the
quaternion Q represents a rotation, show that the new, rotated coordinates of v are given by Q(0, vx , vy , vz )Q , in which (0, vx , vy , vz ) is a
quaternion with zero as its real component.
34. Let the point p be rigidly attached to the end effector coordinate frame
with local coordinates (x, y, z). If Q specifies the orientation of the end
effector frame with respect to the base frame, and T is the vector from
the base frame to the origin of the end effector frame, show that the
coordinates of p with respect to the base frame are given by
Q(0, x, y, z)Q + T
(2.73)
CHAPTER SUMMARY
63
y1
z1
x1
2m
1m
z0
y2
45
x2
Fig. 2.15
x0
y0
1m
z2
x3
y3
z3
2m
z2
y2
z1
x2
1m
y1
x1
z0
y0
x0
1m
Fig. 2.16
1m
1m
Diagram for Problem 2-37.
mations H10 , H20 , H21 representing the transformations among the three
frames shown. Show that H20 = H10 , H21 .
37. Consider the diagram of Figure 2.16. A robot is set up 1 meter from a
table. The table top is 1 meter high and 1 meter square. A frame o1 x1 y1 z1
is fixed to the edge of the table as shown. A cube measuring 20 cm on a
64