Spatial Descriptions and Transformations: Sami Haddadin
Spatial Descriptions and Transformations: Sami Haddadin
transformations
Sami Haddadin
A
P = [px py pz ]T (1)
⎡ ⎤
r11 r12 r13
A
RB = A
X̂B A ŶB A ẐB = ⎣ r21 r22 r23 ⎦ (2)
r31 r32 r33
Full description of a body:
1 vector for position
2 matrix for orientation
⎡ ⎤
X̂B · X̂A ŶB · X̂A ẐB · X̂A
A
RB = A
X̂B A ŶB A ẐB = ⎣ X̂B · ŶA ŶB · ŶA ẐB · ŶA ⎦ (3)
X̂B · ẐA ŶB · ẐA ẐB · ẐA
since dot products of two unit vectors yields the cosine of the
angle between them, the components of the rotation matrices
are often referred to as direction cosines
(a · b = |a||b| cos{a, b})
further inspection of (3) shows that the rows of the matrix are
the unit vectors of {A} expressed in {B}
hence, A RB = B RAT
this suggests that the inverse of a rotation matrix is equal to
its transpose. Verify at home!
A
P = B P + A PBORG (4)
A
P = A RB B P + A PBORG (8)
This does not represent the concept of mapping. Therefore, we
write
A
P = A TB B P (9)
AP
AR AP
BP
B BORG
= (10)
1 000 1 1
The 4 × 4 matrix A TB is called the homogeneous transformation
matrix.
A
P2 = A P1 + A Q (11)
To write this translation operation as a matrix operator, we use the
notation
A
P2 = DQ (q)A P1 (12)
⎡ ⎤
1 0 0 qx
⎢ 0 1 0 qy ⎥
DQ (q) = ⎢
⎣ 0 0
⎥ (13)
1 qz ⎦
0 0 0 1
Rotation and transformation operator are straight forward.
Haddadin, Robotics: http://www6.in.tum.de/Main/TeachingWs2012Robotik
Operators