Beruflich Dokumente
Kultur Dokumente
Lecture 3
Lecture Contents
Spatial Descriptions and Transformations
Position Vector
Description of a Position
• Vectors will be written with a leading superscript indicating
the coordinate system to which they are referenced, for
example AP
Position : AP
Orientation : AXB , AYB , A ZB
Description of Orientation
• Thus, positions of points are described with vectors and
orientations of bodies are described with an attached
coordinate system
• One way to describe the body attached to the coordinate
system, {B}, is to write the unit vectors of its three principal
axes in terms of the coordinate system {A}
• The unit vectors giving the principal directions of
coordinate system {B} as
XB ,YB , ZB
• When written in terms of coordinate system {A}, they are
called as
AX AY A Z
B, B, B
Rotation Matrix
• It is convenient to stack these three unit vectors together as
the columns of a 3X3 matrix, in the order
Reference Frame
Body Frame
Rotation Matrix
• In summary, a set of three vectors may be used to specify an
orientation
0 𝑋𝐵 . 𝑋𝐴
AZ = AR
B B 0 AX =
B 𝑋𝐵 . 𝑌𝐴
1 𝑋𝐵 . 𝑍𝐴
Components of XB in {A}
Rotation Matrix
BZ T
A
Description of an Orientation
• Since the dot product of two unit vectors yields the cosine of
the angle between them, the components of rotation
matrices are often referred to as direction cosines
• The rows of the rotation matrix ARB are the unit vectors of {A}
expressed in {B}, that is
= B RT
A
Description of an Orientation
• Hence, BAR the description of {A} relative to {B} is given by the
transpose of ABR , that is
1 0 0
A 0 0 -1 ZB YA
BR =
0 1 0 {B}
XA
XB
Rotated frames – General Notation
Description of a Frame
• The information needed to completely specify the
whereabouts of the manipulator hand is a position and an
orientation
AP
A AP BORG
{B}={ BR BORG }
Rotation matrix
describing frame {B} The origin of frame
relative to frame {A} {B} relative to frame
{A}
Description of a Frame
• There are three
frames shown along
with the universe
coordinate system
• An arrow representing a
vector is drawn from one
origin to another
1. Second-frame is moved away from the first, the axes of both frames
remain parallel, respectively. This is a translation of the origin of the
second frame from the first frame in space
2. Second-frame is rotated with respect to the first; the origin of both the
frames is same. In robotics this referred as changing the orientation
3. Second-frame is rotated with respect to the first and moved away from
it, that is, the second frame is translated and its orientation is also
changed
Mappings: Translated Frames
• In this figure, position is
defined by the vector BP
with respect to frame {B}
• Therefore, since the columns of ABR are the unit vectors of {B}
written in {A}, then rows of ABR are the unit vectors of {A}
written in {B}
Mappings: Rotated Frames
• If P is given in {B}: BP
AP = BP
BP = BAR AP
Mappings: Rotated Frames
• Figure shows a frame {B} which is
rotated relative to frame {A} about Z-
axis by 30 degrees
• A R (
B Z θ)=
Mappings: Rotated Frames