Spong 1

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

62

RIGID MOTIONS AND HOMOGENEOUS TRANSFORMATIONS


$
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)

in which (0, x, y, z) is a quaternion with zero as its real component.


35. Compute the homogeneous transformation representing a translation of
3 units along the x-axis followed by a rotation of 2 about the current
z-axis followed by a translation of 1 unit along the fixed y-axis. Sketch
the frame. What are the coordinates of the origin O1 with respect to the
original frame in each case?
36. Consider the diagram of Figure 2.15. Find the homogeneous transfor-

CHAPTER SUMMARY

63

y1
z1
x1

2m
1m

z0

y2
45
x2

Fig. 2.15

x0
y0

1m

z2

Diagram for Problem 2-36.

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

RIGID MOTIONS AND HOMOGENEOUS TRANSFORMATIONS

side is placed in the center of the table with frame o2 x2 y2 z2 established at


the center of the cube as shown. A camera is situated directly above the
center of the block 2m above the table top with frame o3 x3 y3 z3 attached
as shown. Find the homogeneous transformations relating each of these
frames to the base frame o0 x0 y0 z0 . Find the homogeneous transformation
relating the frame o2 x2 y2 z2 to the camera frame o3 x3 y3 z3 .
38. In Problem 37, suppose that, after the camera is calibrated, it is rotated
90 about z3 . Recompute the above coordinate transformations.
39. If the block on the table is rotated 90 about z2 and moved so that its
center has coordinates (0, .8, .1)T relative to the frame o1 x1 y1 z1 , compute
the homogeneous transformation relating the block frame to the camera
frame; the block frame to the base frame.
40. Consult an astronomy book to learn the basic details of the Earths rotation about the sun and about its own axis. Define for the Earth a local
coordinate frame whose z-axis is the Earths axis of rotation. Define t = 0
to be the exact moment of the summer solstice, and the global reference
frame to be coincident with the Earths frame at time t = 0. Give an
expression R(t) for the rotation matrix that represents the instantaneous
orientation of the earth at time t. Determine as a function of time the
homogeneous transformation that specifies the Earths frame with respect
to the global reference frame.
41. In general, multiplication of homogeneous transformation matrices is not
commutative. Consider the matrix product
H = Rotx, Transx,b Transz,d Rotz,
Determine which pairs of the four matrices on the right hand side commute. Explain why these pairs commute. Find all permutations of these
four matrices that yield the same homogeneous transformation matrix,
H.

You might also like