Robotics Lecture
Robotics Lecture
Robotics I
Lecture 2
• Robotic manipulation, by definition, implies that parts and tools will be moved
around in space by some sort of mechanism.
• This naturally leads to a need for representing positions and orientations of parts,
of tools, and of the mechanism itself.
• We will describe all positions and orientations with respect to the universe
coordinate system or with respect to other Cartesian coordinate systems that are
(or could be) defined relative to the universe system
• Components of 𝐴𝑃 have numerical values that indicate distances along the axes of
{A}
• Each of these distances along an axis can be
thought of as the result of projecting the vector
onto the corresponding axis
• Rows of the matrix are the unit vectors of {A} expressed in {B}; that is
Example ZA
YB
{A}
1 0 0
AR = 0 0 -1 ZB YA
B
0 1 0 {B}
XA
XB
• For convenience, the point whose position we will describe is chosen as the origin
of the body-attached frame
• The situation of a position and an orientation pair arises so often in robotics that
we define an entity called a frame, which is a set of four vectors giving position
and orientation information
• The quantity itself (here, a point in space) is not changed; only its description is
changed.
• Point described by 𝐵𝑃 is not translated, but remains the same, and instead we have
computed a new description of the same point, but now with respect to system {A}
Spring 2023 DR AMIR HAMZA 14
Mappings Involving Rotated Frames
• The rotation matrix describes frame {B} relative to frame {A}, it was named with
𝐴
𝐵𝑅
• Because the columns of 𝐵𝐴𝑅 are the unit vectors of {B} written in {A}, the rows of
𝐴
𝐵𝑅 are the unit vectors of {A} written in {B}
• The origin of frame {B} is not coincident with that of frame {A} but has a general
vector offset. The vector that locates {B}’s origin is called 𝐴𝑃 𝐵𝑂𝑅𝐺 .
• Also {B} is rotated with respect to {A}, as described by 𝐵𝐴𝑅
The transform that rotates by R and translates by Q is the same as the transform
that describes a frame rotated by R and translated by Q relative to the reference
frame
Example
Inverting Transform
𝐵 𝐵 𝑆 𝐵 𝐵 𝑇
𝐺 𝑇= 𝑆𝑇 𝐺 𝑇 𝐺 𝑇= 𝑇𝑇 𝐺 𝑇
• Rotation matrices are special in that all columns are mutually orthogonal and have
unit magnitude
• This means there are six constraints on the nine elements of a rotation matrix
The inverse problem, that of extracting equivalent X–Y–Z fixed angles from a
rotation matrix, is often of interest
Relations for finding Z-Y-X Euler angles from a given rotation matrix are exactly
same as the X-Y-Z Fixed Angles (as the rotation matrix is same)
• Each of these conventions requires performing three rotations about principal axes
in a certain order.
• These conventions are examples of a set of 24 conventions that we will call angle-
set conventions
• Of these, 12 conventions are for fixed-angle sets, and 12 are for Euler-angle sets.
𝜃) or 𝑅𝐾 (𝜃)
• A general orientation of {B} relative to {A} may be written as 𝐵𝐴𝑅(𝐾,
and will be called the equivalent angle–axis representation.
• The specification of the vector 𝐴𝐾 requires only two parameters, because its
length is always taken to be one.
• The angle specifies a third parameter. Often, we will multiply the unit direction, 𝐾
with the amount of rotation, θ, to form a compact 3 × 1 vector description of
orientation, denoted by K (no ‘‘hat’’)
Spring 2023 DR AMIR HAMZA 45
Equivalent angle-axis representations
Example