Professional Documents
Culture Documents
Two DH Conditions
• The 𝑥𝑥𝑛𝑛 axis is perpendicular
to both the 𝑧𝑧𝑛𝑛−1 and 𝑧𝑧𝑛𝑛
axes
• The 𝑥𝑥𝑛𝑛 -axis intersects both
𝑧𝑧𝑛𝑛−1 and 𝑧𝑧𝑛𝑛 axes
Problem 1 2015
https://www.youtube.com/watch?v=3HFXO_qx5ZY
𝑜𝑜7 Frame 6 Frame 7
𝑍𝑍6 𝑍𝑍7
𝑌𝑌6 𝑌𝑌7
𝑜𝑜5
𝑜𝑜6 Frame 4 Frame 5
𝑍𝑍4
𝑍𝑍5
𝑌𝑌4
𝑌𝑌5
Frame 2 Frame 3
𝑜𝑜3 𝑍𝑍2
𝑜𝑜4 𝑍𝑍3
𝑌𝑌2
𝑌𝑌3
Frame 1
𝑋𝑋1
𝐽𝐽5
Frame 4 Frame 5
0.160 m
𝑍𝑍4 𝑌𝑌5
𝑜𝑜4 𝐽𝐽4 𝑋𝑋4 𝑋𝑋5
𝑜𝑜3
0.080 m
Frame 2 Frame 3
𝐽𝐽3 𝑍𝑍2 𝑌𝑌3
0.172 m 𝑋𝑋2 𝑋𝑋3
𝐽𝐽2
𝑋𝑋1
𝐽𝐽1
0.020 m 0.040 m
Part C
The elements of the A matrices from the (i-1)th to the ith joint can be calculated by using the Denavit- Hartenburg
variables; fill in the table of θ, d, a, and α for each of the A matrices. Use the appropriate geometric dimensions,
from Figure 1.3, with the assumption that there are no offsets in or out of the page.
Joint θ d a α
1 θ1 0.132 0.020 +90
2 θ2 0 -0.020 -90
3 θ3 0.252 -0.040 +90
4 θ4 0 0.040 -90
5 θ5 0.260 -0.010 +90
6 θ6 0 0.010 -90
7 θ7 0.025 0 0
Part D
At one instant in time, the joints move through their zero position (the zero pose of Figure 1.3). Compute the A
matrices, (𝐴𝐴54 , 𝐴𝐴65 ), using the Denavit-Hartenburg variables from part D.
Use Joint 5 row Use Joint 6 row
𝑐𝑐𝜃𝜃𝑖𝑖 −𝑠𝑠𝜃𝜃𝑖𝑖 𝑐𝑐𝛼𝛼𝑖𝑖 𝑠𝑠𝜃𝜃𝑖𝑖 𝑠𝑠𝛼𝛼𝑖𝑖 𝑎𝑎𝑖𝑖 𝑐𝑐𝜃𝜃𝑖𝑖 1 0 0 −0.01 1 0 0 0.01
𝑠𝑠𝜃𝜃𝑖𝑖 𝑐𝑐𝜃𝜃𝑖𝑖 𝑐𝑐𝛼𝛼𝑖𝑖 −𝑐𝑐𝜃𝜃𝑖𝑖 𝑠𝑠𝛼𝛼𝑖𝑖 𝑎𝑎𝑖𝑖 𝑠𝑠𝜃𝜃𝑖𝑖 0 0 −1 0 0 0 1 0
𝐴𝐴𝑖𝑖𝑖𝑖−1 = A54 = 𝐴𝐴65 =
0 𝑠𝑠𝛼𝛼𝑖𝑖 𝑐𝑐𝛼𝛼𝑖𝑖 𝑑𝑑𝑖𝑖 0 1 0 0.26 0 −1 0 0
0 0 0 1 0 0 0 1 0 0 0 1
Problem 2 2014
Part A.
Determine the homogenous transformation matrix to go from the camera coordinate frame to the GPS
coordinate frame. In other words, find 𝑇𝑇𝐶𝐶𝐺𝐺 .
In this setup, the GPS unit is assumed to be located at [0.0m, -1.5m, -1.0m] relative to the camera unit
1 0 0 0
0 1 0 −1.5
𝑇𝑇𝐶𝐶𝐺𝐺 =
0 0 1 −1
0 0 0 1
Part B.
At a given instant in time a general offset from the object to the camera unit is given by (J,K,L). Determine the
homogenous transformation matrix to go from the camera coordinate frame to the object coordinate frame.
In other words, find 𝑇𝑇𝐶𝐶0 .
1 0 0 𝐽𝐽
0 1 0 𝐾𝐾
𝑇𝑇𝐶𝐶0 =
0 0 1 𝐿𝐿
0 0 0 1
Part C.
At a given moment in time the GPS receiver is found to be at [778190 m, 480350 m] relative to a state plane
coordinate system with a heading angle 𝜃𝜃𝐺𝐺 = 45∘ . At the same moment in time, the object on the road is
found by the camera to be at [5.0 m, 0.0 m, -2.5 m]. Determine the position and orientation of the object on
the road relative to the state plane coordinate system.
The bus is equipped with sensors that can determine both the position and the orientation of the obstacle.
The obstacle has been located by these sensors which have determined its position to be [a,b] in the bus
frame, and its orientation to be θ, also with respect to the bus frame. Note that the variables a and b
represent distances and θ represents an angle
Solution:
By looking at the figure we can
see that we are looking at a
𝑅𝑅𝑧𝑧 𝜃𝜃 and movement by [a,b].
𝑇𝑇
𝑇𝑇𝐵𝐵0 = 𝑅𝑅𝑧𝑧 (𝜃𝜃) 𝑎𝑎, 𝑏𝑏, 0
0 1
𝑐𝑐𝜃𝜃 −𝑠𝑠𝜃𝜃 0 𝑎𝑎
𝑠𝑠 𝑐𝑐𝜃𝜃 0 𝑏𝑏
= 𝜃𝜃
0 0 1 0
0 0 0 1
Part B.
Write the homogeneous transformation to go from the seat frame to the head frame. That is to say, find 𝑇𝑇𝑆𝑆𝐻𝐻 .
There is a sensor that measures the position and orientation of the driver’s head (represented by the head
frame [𝑋𝑋𝐻𝐻 , 𝑌𝑌𝐻𝐻 ]) with respect to the sensor located at the origin of the seat frame [𝑋𝑋𝑆𝑆 , 𝑌𝑌𝑆𝑆 ]. The driver’s head
has been determined by this sensor to be located at [𝑐𝑐, 𝑑𝑑] in the seat frame, and the driver’s head’s
orientation to be α, also with respect to the seat frame. Note that the variables c and d represent distances
and α represents an angle.
Solution:
By looking at the figure we can
see that we are looking at a
𝑅𝑅𝑧𝑧 𝛼𝛼 and movement by [c, d].
𝑇𝑇
= 𝑅𝑅𝑧𝑧 (𝛼𝛼) 𝑐𝑐 𝑑𝑑, 0
𝑇𝑇𝑆𝑆𝐻𝐻
0 1
𝑐𝑐𝛼𝛼 −𝑠𝑠𝛼𝛼 0 𝑐𝑐
𝑠𝑠 𝑐𝑐𝛼𝛼 0 𝑑𝑑
= 𝛼𝛼
0 0 1 0
0 0 0 1
Part B.
C. (2 points) Write the homogeneous transformation to go from the bus frame to the seat frame. That is to say,
find 𝑇𝑇𝐵𝐵𝑆𝑆 .
Additionally, the seat is free to be adjusted up-down and front-back by the driver. Its orientation is always such
that 𝑋𝑋𝑆𝑆 is in the negative 𝑌𝑌𝐵𝐵 direction, and 𝑌𝑌𝑆𝑆 is in the 𝑋𝑋𝐵𝐵 direction. For a particular driver, the seat frame’s
location with respect to the bus frame is [-1, 2]m.
Solution:
We can determine the rotation
out by inspection.
0 1 0 −1
−1 0 0 2
𝑇𝑇𝐵𝐵𝑆𝑆 =
0 0 1 0
0 0 0 1
Part B.
C. (2 points) Write the homogeneous transformation to go from the bus frame to the seat frame. That is to say,
find 𝑇𝑇𝐵𝐵𝐻𝐻 .
Solution:
𝑇𝑇𝐵𝐵𝐻𝐻 = 𝑇𝑇𝐵𝐵𝑆𝑆 𝑇𝑇𝑆𝑆𝐻𝐻
𝑐𝑐𝛼𝛼 −𝑠𝑠𝛼𝛼 0 𝑐𝑐 0 1 0 −1
𝑠𝑠 𝑐𝑐𝛼𝛼 0 𝑑𝑑 −1 0 0 2
= 𝛼𝛼
0 0 1 0 0 0 1 0
0 0 0 1 0 0 0 1
𝑠𝑠𝛼𝛼 𝑐𝑐𝛼𝛼 0 𝑑𝑑 − 1
−𝑐𝑐𝛼𝛼 𝑠𝑠𝛼𝛼 0 2 − 𝑐𝑐
𝑇𝑇𝐵𝐵𝐻𝐻 =
0 0 1 0
0 0 0 1
Questions