SlideShare a Scribd company logo
Transformation Matrices
Dr.-Ing. John Nassour
Artificial Intelligence & Neuro Cognitive Systems
Fakultät für Informatik
𝑦0
𝑧0
𝑦1
𝑥1
𝑧1
𝒑
𝑧2
𝑦2
𝑥2
𝑧𝑛
𝑦𝑛
𝑥𝑛
Suggested literature
• Robot Modeling and Control
• Robotics: Modelling, Planning and Control
10/17/2017
10/17/2017
Motivation
A large part of robot kinematics is concerned with the
establishment of various coordinate systems to represent the
positions and orientations of rigid objects, and with
transformations among these coordinate systems.
Indeed, the geometry of three-dimensional space and of rigid
motions plays a central role in all aspects of robotic manipulation.
A rigid motion is the action of taking an object and moving it to a
different location without altering its shape or size
10/17/2017
Transformation
The operations of ROTATION and TRANSLATION.
Introduce the notion of HOMOGENEOUS
TRANSFORMATIONS (combining the operations
of rotation and translation into a single matrix
multiplication).
10/17/2017
Representing Positions
The coordinate vectors that
represent the location of the
point 𝒑 in space with respect to
coordinate frames 𝒐𝟎 𝒙𝟎 𝒚𝟎 and
𝒐𝟏 𝒙𝟏 𝒚𝟏, respectively are:
10/17/2017
Representing Positions
Lets assign coordinates that
represent the position of the origin
of one coordinate system (frame)
with respect to another.
10/17/2017
Representing Positions
What is the difference
between the geometric
entity called 𝒑 and any
particular coordinate
vector 𝒗 that is assigned
to represent 𝒑?
𝒑 is independent of the choice of coordinate systems.
𝒗 depends on the choice of coordinate frames.
10/17/2017
Representing Positions
A point corresponds to a specific
location in space.
A vector specifies a direction and
a magnitude (e.g. displacements
or forces).
The point 𝒑 is not equivalent to
the vector 𝒗𝟏, the displacement
from the origin 𝒐𝟎 to the point 𝒑
is given by the vector 𝒗𝟏.
We will use the term vector to refer to what are sometimes called free vectors, i.e.,
vectors that are not constrained to be located at a particular point in space.
10/17/2017
Representing Positions
When assigning coordinates to
vectors, we use the same notational
convention that we used when
assigning coordinates to points.
Thus, 𝒗𝟏 and 𝒗𝟐 are geometric
entities that are invariant with
respect to the choice of coordinate
systems, but the representation by
coordinates of these vectors
depends directly on the choice of
reference coordinate frame.
10/17/2017
Coordinate Convention
In order to perform algebraic manipulations using
coordinates, it is essential that all coordinate vectors
be defined with respect to the same coordinate
frame.
In the case of free vectors, it is enough that they be
defined with respect to parallel coordinate frames.
10/17/2017
Coordinate Convention
An expression of the form:
is not defined since the frames
𝒐𝟎 𝒙𝟎 𝒚𝟎 and 𝒐𝟏 𝒙𝟏 𝒚𝟏 are not
parallel.
10/17/2017
Coordinate Convention
An expression of the form:
is not defined since the frames
𝒐𝟎 𝒙𝟎 𝒚𝟎 and 𝒐𝟏 𝒙𝟏 𝒚𝟏 are not
parallel.
Thus, we see a clear need, not only for a representation system that allows points to
be expressed with respect to various coordinate systems, but also for a mechanism
that allows us to transform the coordinates of points that are expressed in one
coordinate system into the appropriate coordinates with respect to some other
coordinate frame.
10/17/2017
Representing Rotations
In order to represent the relative
position and orientation of one rigid
body with respect to another, we will
rigidly attach coordinate frames to
each body, and then specify the
geometric relationships between
these coordinate frames.
10/17/2017
Representing Rotations
In order to represent the relative
position and orientation of one rigid
body with respect to another, we will
rigidly attach coordinate frames to
each body, and then specify the
geometric relationships between
these coordinate frames.
10/17/2017
Representing Rotations
In order to represent the relative
position and orientation of one rigid
body with respect to another, we will
rigidly attach coordinate frames to
each body, and then specify the
geometric relationships between
these coordinate frames.
How to describe the orientation of one coordinate frame relative to another frame?
10/17/2017
Rotation In The Plane
10/17/2017
Rotation In The Plane
Fram 𝒐𝟏 𝒙𝟏 𝒚𝟏 is obtained by rotating
frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 by an angle 𝜽.
The coordinate vectors for the axes of
frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 with respect to coordinate
frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 are described by a rotation
matrix:
where𝒙𝟏
𝟎
and 𝒚𝟏
𝟎
are the coordinates in frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 of unit
vectors 𝒙 𝟏 and 𝒚 𝟏 , respectively.
10/17/2017
Rotation In The Plane
𝑹𝟏
𝟎
is a matrix whose column vectors are the coordinates of the (unit vectors along the)
axes of frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 expressed relative to frame 𝒐𝟎 𝒙𝟎 𝒚𝟎.
10/17/2017
Rotation In The Plane
𝑹𝟏
𝟎
describes the orientation of frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 with respect to the frame 𝒐𝟎 𝒙𝟎 𝒚𝟎.
The dot product of two unit vectors gives the
projection of one onto the other
𝑹𝟎
𝟏
=?
10/17/2017
Rotation In The Plane
The dot product of two unit vectors gives the
projection of one onto the other
The orientation of frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 with
respect to the frame 𝒐𝟏 𝒙𝟏 𝒚𝟏.
Since the inner product is commutative
10/17/2017
Rotations In Three Dimensions
Each axis of the frame 𝒐𝟏𝒙𝟏𝒚𝟏𝒛𝟏 is projected onto coordinate frame 𝒐𝟎𝒙𝟎𝒚𝟎𝒛𝟎.
The resulting rotation matrix is given by:
10/17/2017
Rotation About 𝒛𝟎 By An Angle 𝜽
10/17/2017
Rotation About 𝒛𝟎 By An Angle 𝜽
Called a basic rotation matrix (about the z-axis) 𝑹𝒛,𝜽
10/17/2017
Basic Rotation Matrix About The Z-axis
10/17/2017
Basic Rotation Matrix About The X-axis
𝑹𝒙,𝜽
10/17/2017
Basic Rotation Matrix About The Y-axis
𝑹𝒚,𝜽
10/17/2017
Example
Find the description of frame 𝒐𝟏𝒙𝟏𝒚𝟏𝒛𝟏 with respect to the frame 𝒐𝟎𝒙𝟎𝒚𝟎𝒛𝟎.
10/17/2017
Example
The coordinates of 𝒙𝟏are
The coordinates of 𝒚𝟏are
The coordinates of 𝒛𝟏 are
Find the description of frame 𝒐𝟏𝒙𝟏𝒚𝟏𝒛𝟏 with respect to the frame 𝒐𝟎𝒙𝟎𝒚𝟎𝒛𝟎.
10/17/2017
Example
Find the description of frame 𝒐𝟏𝒙𝟏𝒚𝟏𝒛𝟏 with respect to the frame 𝒐𝟎𝒙𝟎𝒚𝟎𝒛𝟎.
The coordinates of 𝒙𝟏are
The coordinates of 𝒚𝟏are
The coordinates of 𝒛𝟏 are
10/17/2017
Rotational Transformations
𝑺 is a rigid object to which a coordinate 𝒇𝒓𝒂𝒎𝒆 𝟏
is attached.
Given 𝒑𝟏
of the point 𝒑, determine the coordinates
of 𝒑 relative to a fixed reference 𝒇𝒓𝒂𝒎𝒆 𝟎.
The projection of the point 𝒑 onto the
coordinate axes of the 𝒇𝒓𝒂𝒎𝒆 𝟎:
10/17/2017
Rotational Transformations
10/17/2017
Rotational Transformations
Thus, the rotation matrix 𝑹𝟏
𝟎
can be used not
only to represent the orientation of coordinate
frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 with respect to frame
𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 , but also to transform the
coordinates of a point from one frame to
another.
If a given point is expressed relative to
𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 by coordinates 𝒑𝟏 , then 𝑹𝟏
𝟎
𝒑𝟏
represents the same point expressed relative
to the frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎.
10/17/2017
Rotational Transformations
It is possible to derive the coordinates for 𝒑𝒃 given only the coordinates for
𝒑𝒂 and the rotation matrix that corresponds to the rotation about 𝒛𝟎.
Suppose that a coordinate frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 is rigidly attached to the block.
After the rotation by 𝝅, the block’s coordinate frame, which is rigidly attached
to the block, is also rotated by 𝝅.
Rotation matrices to represent rigid
motions
10/17/2017
Rotational Transformations
The coordinates of 𝒑𝒃 with respect to the reference frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 :
Rotation matrices to represent rigid
motions
10/17/2017
Rotational Transformations
Rotation matrices to represent vector rotation with
respect to a coordinate frame.
Reminder:
10/17/2017
Summary: Rotation Matrix
1.It represents a coordinate transformation
relating the coordinates of a point p in two
different frames.
2. It gives the orientation of a transformed
coordinate frame with respect to a fixed
coordinate frame.
3. It is an operator taking a vector and rotating it
to a new vector in the same coordinate system.
10/17/2017
Similarity Transformations
The matrix representation of a general linear transformation is transformed from one
frame to another using a so-called similarity transformation.
For example, if 𝑨 is the matrix representation of a given linear transformation in
𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 and 𝑩 is the representation of the same linear transformation in
𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 then 𝑨 and 𝑩 are related as:
where 𝑹𝟏
𝟎
is the coordinate transformation between frames 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 and
𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 . In particular, if 𝑨 itself is a rotation, then so is 𝑩, and thus the use of
similarity transformations allows us to express the same rotation easily with respect to
different frames.
10/17/2017
Example
Suppose frames 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 and 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 are related
by the rotation
If 𝑨 = 𝑹𝒛 relative to the frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎, then, relative to frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 we have
𝑩 is a rotation about the 𝒛𝟎 − 𝒂𝒙𝒊𝒔 but expressed relative to the frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 .
10/17/2017
Rotation With Respect To The Current
Frame
The matrix 𝑹𝟏
𝟎
represents a rotational transformation between the frames 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎
and 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏.
Suppose we now add a third coordinate frame 𝒐𝟐 𝒙𝟐 𝒚𝟐 𝒛𝟐 related to the frames
𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 and 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 by rotational transformations.
A given point 𝒑 can then be represented by coordinates specified with respect to any of
these three frames: 𝒑𝟎
, 𝒑𝟏
and 𝒑𝟐
.
The relationship among these representations of 𝒑 is:
where each𝑹𝒋
𝒊
is a rotation matrix
10/17/2017
In order to transform the coordinates of a point 𝒑 from its
representation 𝒑𝟐 in the frame 𝒐𝟐 𝒙𝟐 𝒚𝟐 𝒛𝟐 to its representation
𝒑𝟎 in the frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 , we may first transform to its
coordinates 𝒑𝟏
in the frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 using 𝑹𝟐
𝟏
and then
transform 𝒑𝟏 to 𝒑𝟎 using 𝑹𝟏
𝟎
.
Composition Law for Rotational
Transformations
10/17/2017
Composition Law for Rotational
Transformations
Coincident: lie exactly on top of each other
Suppose initially that all three of the coordinate frames are coincide.
We first rotate the frame 𝒐𝟐 𝒙𝟐 𝒚𝟐 𝒛𝟐 relative to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 according to the
transformation 𝑹𝟏
𝟎
.
Then, with the frames 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 and 𝒐𝟐 𝒙𝟐 𝒚𝟐 𝒛𝟐 coincident, we rotate 𝒐𝟐 𝒙𝟐 𝒚𝟐 𝒛𝟐
relative to 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 according to the transformation 𝑹𝟐
𝟏
.
In each case we call the frame relative to which the rotation occurs the current frame.
10/17/2017
Example
Suppose a rotation matrix R represents
• a rotation of angle 𝝓 about the current 𝒚 − 𝒂𝒙𝒊𝒔 followed by
• a rotation of angle 𝜭 about the current 𝒛 − 𝒂𝒙𝒊𝒔.
10/17/2017
Example
Suppose a rotation matrix R represents
• a rotation of angle 𝝓 about the current 𝒚 − 𝒂𝒙𝒊𝒔 followed by
• a rotation of angle 𝜭 about the current 𝒛 − 𝒂𝒙𝒊𝒔.
10/17/2017
Example
Suppose a rotation matrix R represents
• a rotation of angle 𝝓 about the current 𝒚 − 𝒂𝒙𝒊𝒔 followed by
• a rotation of angle 𝜭 about the current 𝒛 − 𝒂𝒙𝒊𝒔.
10/17/2017
Example
Suppose a rotation matrix R represents
• a rotation of angle 𝝓 about the current 𝒚 − 𝒂𝒙𝒊𝒔 followed by
• a rotation of angle 𝜭 about the current 𝒛 − 𝒂𝒙𝒊𝒔.
10/17/2017
Example
Suppose a rotation matrix R represents
• a rotation of angle 𝜭 about the current 𝒛 − 𝒂𝒙𝒊𝒔 followed by
• a rotation of angle 𝝓 about the current 𝒚 − 𝒂𝒙𝒊𝒔
10/17/2017
Example
Suppose a rotation matrix R represents
• a rotation of angle 𝜭 about the current 𝒛 − 𝒂𝒙𝒊𝒔 followed by
• a rotation of angle 𝝓 about the current 𝒚 − 𝒂𝒙𝒊𝒔
10/17/2017
Example
Suppose a rotation matrix R represents
• a rotation of angle 𝜭 about the current 𝒛 − 𝒂𝒙𝒊𝒔 followed by
• a rotation of angle 𝝓 about the current 𝒚 − 𝒂𝒙𝒊𝒔
Rotational transformations do not commute
10/17/2017
Rotation With Respect To The Fixed
Frame
Performing a sequence of rotations, each about a given fixed coordinate frame, rather
than about successive current frames.
For example we may wish to perform a rotation about 𝒙𝟎 followed by a rotation about
𝒚𝟎 (and not 𝒚𝟏!). We will refer to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 as the fixed frame. In this case the
composition law given before is not valid.
The composition law that was obtained by multiplying the successive rotation matrices
in the reverse order from that given by is not valid.
10/17/2017
Rotation with Respect to the Fixed Frame
Suppose we have two frames 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 and
𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 related by the rotational transformation 𝑹𝟏
𝟎
.
If 𝑹 represents a rotation relative to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎, the
representation for 𝑹 in the current frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 is given
by:
Similarity Transformations
With applying the composition law for rotations about the
current axis:
composition law for
rotations about the
current axis
Reminder:
10/17/2017
Example
Suppose a rotation matrix R represents
• a rotation of angle 𝝓 about 𝒚𝟎 − 𝒂𝒙𝒊𝒔 followed by
• a rotation of angle𝜭about the fixed 𝒛𝟎−𝒂𝒙𝒊𝒔 Similarity Transformations
Reminder:
composition law for
rotations about the
current axis
composition law for
rotations about the fixed
axis
The second rotation about the fixed axis is given by
which is the basic rotation about the z-axis expressed relative
to the frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 using a similarity transformation.
10/17/2017
Example
Suppose a rotation matrix R represents
• a rotation of angle 𝝓 about 𝒚𝟎 − 𝒂𝒙𝒊𝒔 followed by
• a rotation of angle𝜭about the fixed 𝒛𝟎−𝒂𝒙𝒊𝒔 Similarity Transformations
Reminder:
composition law for
rotations about the
current axis
composition law for
rotations about the fixed
axis
Therefore, the composition rule for rotational transformations
10/17/2017
Example
Suppose a rotation matrix R represents
• a rotation of angle 𝝓 about 𝒚𝟎 − 𝒂𝒙𝒊𝒔 followed by
• a rotation of angle𝜭about the fixed 𝒛𝟎−𝒂𝒙𝒊𝒔
10/17/2017
Example
Suppose a rotation matrix R represents
• a rotation of angle 𝝓 about 𝒚𝟎 − 𝒂𝒙𝒊𝒔 followed by
• a rotation of angle𝜭about the fixed 𝒛𝟎−𝒂𝒙𝒊𝒔
Suppose a rotation matrix R represents
• a rotation of angle 𝝓 about the current 𝒚 − 𝒂𝒙𝒊𝒔 followed by
• a rotation of angle 𝜭 about the current 𝒛 − 𝒂𝒙𝒊𝒔.
10/17/2017
Summary
To note that we obtain the same basic rotation matrices, but in the reverse order.
Rotation with Respect to
the Fixed Frame
Rotation with Respect to
the Current Frame
10/17/2017
Rules for Composition of Rotational
Transformations
We can summarize the rule of composition of rotational transformations by:
Given a fixed frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 a current frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏, together with rotation
matrix 𝑹𝟏
𝟎
relating them, if a third frame 𝒐𝟐 𝒙𝟐 𝒚𝟐 𝒛𝟐 is obtained by a rotation 𝑹
performed relative to the current frame then post-multiply 𝑹𝟏
𝟎
by 𝑹 = 𝑹𝟐
𝟏
to obtain
In each case 𝑹𝟐
𝟎
represents the transformation between the frames 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 and
𝒐𝟐 𝒙𝟐 𝒚𝟐 𝒛𝟐.
If the second rotation is to be performed relative to the fixed frame then it is both
confusing and inappropriate to use the notation 𝑹𝟐
𝟏
to represent this rotation. Therefore,
if we represent the rotation by 𝑹, we pre-multiply 𝑹𝟏
𝟎
by 𝑹 to obtain
10/17/2017
Example
Find R for the following sequence of basic rotations:
1. A rotation of ϴ about the current x-axis
2. A rotation of φ about the current z-axis
3. A rotation of α about the fixed z-axis
4. A rotation of β about the current y-axis
5. A rotation of δ about the fixed x-axis
Rotation with Respect to
the Fixed Frame
Rotation with Respect to
the Current Frame
Reminder:
10/17/2017
Example
Find R for the following sequence of basic rotations:
1. A rotation of ϴ about the current x-axis
2. A rotation of φ about the current z-axis
3. A rotation of α about the fixed z-axis
4. A rotation of β about the current y-axis
5. A rotation of δ about the fixed x-axis
Rotation with Respect to
the Fixed Frame
Rotation with Respect to
the Current Frame
Reminder:
10/17/2017
Example
Find R for the following sequence of basic rotations:
1. A rotation of ϴ about the current x-axis
2. A rotation of φ about the current z-axis
3. A rotation of α about the fixed z-axis
4. A rotation of β about the current y-axis
5. A rotation of δ about the fixed x-axis
Rotation with Respect to
the Fixed Frame
Rotation with Respect to
the Current Frame
Reminder:
10/17/2017
Example
Find R for the following sequence of basic rotations:
1. A rotation of ϴ about the current x-axis
2. A rotation of φ about the current z-axis
3. A rotation of α about the fixed z-axis
4. A rotation of β about the current y-axis
5. A rotation of δ about the fixed x-axis
Rotation with Respect to
the Fixed Frame
Rotation with Respect to
the Current Frame
Reminder:
10/17/2017
Example
Find R for the following sequence of basic rotations:
1. A rotation of ϴ about the current x-axis
2. A rotation of φ about the current z-axis
3. A rotation of α about the fixed z-axis
4. A rotation of β about the current y-axis
5. A rotation of δ about the fixed x-axis
Rotation with Respect to
the Fixed Frame
Rotation with Respect to
the Current Frame
Reminder:
10/17/2017
Example
Find R for the following sequence of basic rotations:
1. A rotation of ϴ about the current x-axis
2. A rotation of φ about the current z-axis
3. A rotation of α about the fixed z-axis
4. A rotation of β about the current y-axis
5. A rotation of δ about the fixed x-axis
Rotation with Respect to
the Fixed Frame
Rotation with Respect to
the Current Frame
Reminder:
10/17/2017
Example
Find R for the following sequence of basic rotations:
1. A rotation of δ about the fixed x-axis
2. A rotation of β about the current y-axis
3. A rotation of α about the fixed z-axis
4. A rotation of φ about the current z-axis
5. A rotation of ϴ about the current x-axis
Rotation with Respect to
the Fixed Frame
Rotation with Respect to
the Current Frame
Reminder:
10/17/2017
Rotations in Three Dimensions
Each axis of the frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 is projected onto the coordinate frame
𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎.
The resulting rotation matrix is given by
Reminder:
The nine elements 𝒓𝒊𝒋 in a general rotational transformation R are not independent
quantities.
𝑹𝝐 𝑺𝑶 𝟑
Where 𝑺𝑶(n) denotes the Special Orthogonal group of order n.
10/17/2017
Rotations In Three Dimensions
For any 𝑅𝜖 𝑆𝑂 𝑛 The following properties hold
• 𝑅𝑇
= 𝑅−1
𝜖 𝑆𝑂 𝑛
• The columns and the rows of 𝑅 are mutually orthogonal
• Each column and each row of 𝑅 is a unit vector
• det 𝑅 = 1 (the determinant)
Where 𝑆𝑂(n) denotes the Special Orthogonal group of order n.
Example for 𝑹𝑻
= 𝑹−𝟏
𝝐 𝑺𝑶 𝟐 :
10/17/2017
Parameterizations Of Rotations
As each column of 𝑅 is a unit vector, then we can
write:
As the columns of 𝑅 are mutually orthogonal, then
we can write:
Together, these constraints define six independent equations with nine unknowns, which
implies that there are three free variables.
The nine elements 𝒓𝒊𝒋 in a general rotational transformation R are not independent
quantities.
𝑅𝜖 𝑆𝑂 3
Where 𝑆𝑂(n) denotes the Special Orthogonal group of order n.
10/17/2017
We present three ways in which an arbitrary rotation can be represented using only three
independent quantities:
• Euler Angles representation
• Roll-Pitch-Yaw representation
• Axis/Angle representation
Parameterizations of Rotations
10/17/2017
Euler Angles Representation
We can specify the orientation of the frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 relative to the frame𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 by
three angles (𝝓, 𝜽, 𝝍), known as Euler Angles, and obtained by three successive rotations as
follows:
1. rotation about the z-axis by the angle 𝝓
2. rotation about the current y−axis by the angle 𝜽
3. rotation about the current z−axis by the angle 𝝍
10/17/2017
Euler Angles Representation
10/17/2017
10/17/2017
Trigonometry (Atan vs. Atan2)
Reminder:
Trigonometry (Atan vs. Atan2)
Reminder:
10/17/2017
10/17/2017
Trigonometry (Atan vs. Atan2)
Reminder:
tan(angle) = opposite/adjacent
atan(opposite/adjacent) = angle
10/17/2017
Euler Angles Representation
Given a matrix 𝑅𝜖 𝑆𝑂 3
Determine a set of Euler angles 𝝓, 𝜽, and 𝝍 so that 𝑹 = 𝑹𝒁𝒀𝒁
If 𝒓𝟏𝟑 ≠ 𝟎 and 𝒓𝟐𝟑 ≠ 𝟎,
it follow that: 𝝓=Atan2(𝒓𝟐𝟑, 𝒓𝟏𝟑)
where the function 𝐴𝑡𝑎𝑛2(𝑦, 𝑥) computes the arctangent of the ration 𝑦/𝑥.
Then squaring the summing of the elements (1,3) and (2,3) and using the element (3,3)
yields:
𝜽=Atan2(+ 𝒓𝟏𝟑
𝟐 + 𝒓𝟐𝟑
𝟐, 𝒓𝟑𝟑) or 𝜽=Atan2(− 𝒓𝟏𝟑
𝟐 + 𝒓𝟐𝟑
𝟐, 𝒓𝟑𝟑)
If we consider the first choice then 𝒔𝒊𝒏(𝜽) > 𝟎 then: 𝝍=Atan2(𝒓𝟑𝟐, −𝒓𝟑𝟏)
If we consider the second choice then 𝒔𝒊 𝒏 𝜽 < 𝟎 then: 𝝍=Atan2(− 𝒓𝟑𝟐, 𝒓𝟑𝟏)
and 𝝓=Atan2(−𝒓𝟐𝟑,−𝒓𝟏𝟑)
10/17/2017
Euler Angles Representation
Given a matrix 𝑅𝜖 𝑆𝑂 3
Determine a set of Euler angles 𝝓, 𝜽, and 𝝍 so that 𝑹 = 𝑹𝒁𝒀𝒁
If 𝒓𝟏𝟑 = 𝒓𝟐𝟑 = 𝟎, then the fact that R is orthogonal implies that 𝒓𝟑𝟑 = ±𝟏 and that 𝒓𝟑𝟏
= 𝒓𝟑𝟐 = 𝟎 thus R has the form:
If 𝒓𝟑𝟑 = +𝟏 then 𝑐𝜃 = 1 and 𝑠𝜃 = 0, so that𝜃 = 0.
Thus, the sum 𝝓 + 𝝍 can be determined as 𝝓 + 𝝍 = Atan2(𝒓𝟐𝟏, 𝒓𝟏𝟏) = Atan2(− 𝒓𝟏𝟐, 𝒓𝟐𝟐)
There is infinity of solutions.
10/17/2017
Euler Angles Representation
Given a matrix 𝑅𝜖 𝑆𝑂 3
Determine a set of Euler angles 𝝓, 𝜽, and 𝝍 so that 𝑹 = 𝑹𝒁𝒀𝒁
If 𝒓𝟏𝟑 = 𝒓𝟐𝟑 = 𝟎, then the fact that R is orthogonal implies that 𝒓𝟑𝟑 = ±𝟏 and that 𝒓𝟑𝟏
= 𝒓𝟑𝟐 = 𝟎 thus R has the form:
If 𝒓𝟑𝟑 = −𝟏 then 𝑐𝜃 = −1 and 𝑠𝜃 = 0, so that 𝜃 = π.
Thus, the 𝝓 − 𝝍 can be determined as 𝝓 − 𝝍 = Atan2(−𝒓𝟏𝟐, −𝒓𝟏𝟏) = Atan2( 𝒓𝟐𝟏, 𝒓𝟐𝟐)
As before there is infinity of solutions.
10/17/2017
Yaw-Pitch-Roll Representation
A rotation matrix 𝑹 can also be described as a product of successive rotations about the
principal coordinate axes 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 taken in a specific order. These rotations define
the roll, pitch, and yaw angles, which we shall also denote (𝝓, 𝜽, 𝝍)
We specify the order in three successive rotations as follows:
1. Yaw rotation about 𝒙𝟎 −axis by the angle 𝝍
2. Pitch rotation about 𝒚𝟎 − axis by the angle 𝜽
3. Roll rotation about 𝒛𝟎 − axis by the angle 𝝓
Since the successive rotations are relative to the fixed
frame, the resulting transformation matrix is given by:
10/17/2017
Yaw-Pitch-Roll Representation
A rotation matrix 𝑹 can also be described as a product of successive rotations about the
principal coordinate axes 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 taken in a specific order. These rotations define
the roll, pitch, and yaw angles, which we shall also denote (𝝓, 𝜽, 𝝍)
We specify the order in three successive rotations as follows:
1. Yaw rotation about 𝒙𝟎 −axis by the angle 𝝍
2. Pitch rotation about 𝒚𝟎 − axis by the angle 𝜽
3. Roll rotation about 𝒛𝟎 − axis by the angle 𝝓
Since the successive rotations are relative to the fixed
frame, the resulting transformation matrix is given by:
10/17/2017
Yaw-Pitch-Roll Representation
A rotation matrix 𝑹 can also be described as a product of successive rotations about the
principal coordinate axes 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 taken in a specific order. These rotations define
the roll, pitch, and yaw angles, which we shall also denote (𝝓, 𝜽, 𝝍)
We specify the order in three successive rotations as follows:
1. Yaw rotation about 𝒙𝟎 −axis by the angle 𝝍
2. Pitch rotation about 𝒚𝟎 − axis by the angle 𝜽
3. Roll rotation about 𝒛𝟎 − axis by the angle 𝝓
Since the successive rotations are relative to the fixed
frame, the resulting transformation matrix is given by:
10/17/2017
Yaw-Pitch-Roll Representation
A rotation matrix 𝑹 can also be described as a product of successive rotations about the
principal coordinate axes 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 taken in a specific order. These rotations define
the roll, pitch, and yaw angles, which we shall also denote (𝝓, 𝜽, 𝝍)
We specify the order in three successive rotations as follows:
1. Yaw rotation about 𝒙𝟎 −axis by the angle 𝝍
2. Pitch rotation about 𝒚𝟎 − axis by the angle 𝜽
3. Roll rotation about 𝒛𝟎 − axis by the angle 𝝓
Since the successive rotations are relative to the fixed
frame, the resulting transformation matrix is given by:
10/17/2017
Yaw-Pitch-Roll Representation
A rotation matrix 𝑹 can also be described as a product of successive rotations about the
principal coordinate axes 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 taken in a specific order. These rotations define
the roll, pitch, and yaw angles, which we shall also denote (𝝓, 𝜽, 𝝍)
We specify the order in three successive rotations as follows:
1. Yaw rotation about 𝒙𝟎 −axis by the angle 𝝍
2. Pitch rotation about 𝒚𝟎 − axis by the angle 𝜽
3. Roll rotation about 𝒛𝟎 − axis by the angle 𝝓
Since the successive rotations are relative to the fixed
frame, the resulting transformation matrix is given by:
10/17/2017
Yaw-Pitch-Roll Representation
A rotation matrix 𝑹 can also be described as a product of successive rotations about the
principal coordinate axes 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 taken in a specific order. These rotations define
the roll, pitch, and yaw angles, which we shall also denote (𝝓, 𝜽, 𝝍)
We specify the order in three successive rotations as follows:
1. Yaw rotation about 𝒙𝟎 −axis by the angle 𝝍
2. Pitch rotation about 𝒚𝟎 − axis by the angle 𝜽
3. Roll rotation about 𝒛𝟎 − axis by the angle 𝝓
Since the successive rotations are relative to the fixed
frame, the resulting transformation matrix is given by:
Instead of yaw-pitch-roll relative to the fixed frames we could
also interpret the above transformation as roll-pitch-yaw, in
that order, each taken with respect to the current frame.
The end result is the same matrix.
𝝍
𝜽
𝝓
10/17/2017
Yaw-Pitch-Roll Representation
Find the inverse solution to a given rotation matrix R.
Determine a set of Roll-Pitch-Yaw angles 𝝓, 𝜽, and 𝝍 so that 𝑹
= 𝑹𝑿𝒀𝒁
𝝍
𝜽
𝝓
10/17/2017
Axis/Angle Representation
Rotations are not always performed about the principal coordinate axes. We are often
interested in a rotation about an arbitrary axis in space. This provides both a convenient
way to describe rotations, and an alternative parameterization for rotation matrices.
Let 𝒌 = [𝒌𝒙, 𝒌𝒚, 𝒌𝒛]𝑻
, expressed in the frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎, be
a unit vector defining an axis. We wish to derive the rotation
matrix 𝑹𝒌,𝜽 representing a rotation of 𝜽 about this axis.
A possible solution is to rotate first 𝒌 by the angles necessary
to align it with 𝒛, then to rotate by 𝜽 about 𝒛, and finally to
rotate by the angels necessary to align the unit vector with
the initial direction.
10/17/2017
Axis/Angle Representation
Rotations are not always performed about the principal coordinate axes. We are often
interested in a rotation about an arbitrary axis in space. This provides both a convenient
way to describe rotations, and an alternative parameterization for rotation matrices.
Let 𝒌 = [𝒌𝒙, 𝒌𝒚, 𝒌𝒛]𝑻
, expressed in the frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎, be
a unit vector defining an axis. We wish to derive the rotation
matrix 𝑹𝒌,𝜽representing a rotation of 𝜽 about this axis.
The sequence of rotations to be made with respect to axes of
fixed frame is the following:
• Align 𝒌 with 𝒛 (which is obtained as the sequence of a
rotation by −𝜶 about 𝒛 and a rotation of −𝜷 about 𝒚).
• Rotate by 𝜽 about 𝒛.
• Realign with the initial direction of 𝒌, which is obtained as
the sequence of a rotation by 𝜷 about 𝒚 and a rotation by
𝜶 about 𝒛.
𝑹𝒌,𝜽 = 𝑹𝒛,𝜶 𝑹𝒚,𝜷𝑹𝒛,𝜽𝑹𝒚,−𝜷𝑹𝒛,−𝜶
10/17/2017
Axis/Angle Representation
𝑹𝒌,𝜽 = 𝑹𝒛,𝜶 𝑹𝒚,𝜷𝑹𝒛,𝜽𝑹𝒚,−𝜷𝑹𝒛,−𝜶
10/17/2017
Axis/Angle Representation
Rotations are not always performed about the principal coordinate axes. We are often
interested in a rotation about an arbitrary axis in space. This provides both a convenient
way to describe rotations, and an alternative parameterization for rotation matrices.
𝑹𝒌,𝜽 = 𝑹𝒛,𝜶 𝑹𝒚,𝜷𝑹𝒛,𝜽𝑹𝒚,−𝜷𝑹𝒛,−𝜶
10/17/2017
Axis/Angle Representation
Any rotation matrix 𝑅𝜖 𝑆𝑂 3 can be represented by a single
rotation about a suitable axis in space by a suitable angle.
𝑹 = 𝑹𝒌,𝜽
where 𝒌 is a unit vector defining the axis of rotation, and 𝜽 is
the angle of rotation about 𝒌.
The matrix 𝑹𝒌,𝜽 is called the axis/angle representation of 𝑹.
Given 𝑹 find 𝜽 and 𝒌:
Reminder:
10/17/2017
Axis/Angle Representation
The axis/angle representation is not unique since
a rotation of −𝜽 about −𝒌 is the same as a
rotation of 𝜽 about 𝒌.
𝑹𝒌,𝜽 = 𝑹−𝒌,−𝜽
If 𝜽 = 𝟎 then 𝑹 is the identity matrix and the
axis of rotation is undefined.
10/17/2017
Example
Suppose 𝑹 is generated by a rotation of 90°about 𝑧0 followed by a rotation of 30° about
𝑦0 followed by a rotation of 60°
about 𝑥0. Find the axis/angle representation of 𝑹
Reminder:
The axis/angle representation of 𝑹
10/17/2017
Example
Suppose 𝑹 is generated by a rotation of 90°about 𝑧0 followed by a rotation of 30° about
𝑦0 followed by a rotation of 60°
about 𝑦0. Find the axis/angle representation of 𝑹
Reminder:
The axis/angle representation of 𝑹
10/17/2017
Example
Suppose 𝑹 is generated by a rotation of 90°about 𝑧0 followed by a rotation of 30° about
𝑦0 followed by a rotation of 60°
about 𝑦0. Find the axis/angle representation of 𝑹
Reminder:
The axis/angle representation of 𝑹
10/17/2017
Example
Suppose 𝑹 is generated by a rotation of 90°about 𝑧0 followed by a rotation of 30° about
𝑦0 followed by a rotation of 60°
about 𝑦0. Find the axis/angle representation of 𝑹
Reminder:
The axis/angle representation of 𝑹
10/17/2017
Example
Suppose 𝑹 is generated by a rotation of 90°about 𝑧0 followed by a rotation of 30° about
𝑦0 followed by a rotation of 60°
about 𝑥0. Find the axis/angle representation of 𝑹
Reminder:
The axis/angle representation of 𝑹
10/17/2017
Axis/Angle Representation
The above axis/angle representation characterizes a given
rotation by four quantities, namely the three components
of the equivalent axis 𝒌 and the equivalent angle 𝜽.
However, since the equivalent axis 𝒌 is given as a unit
vector only two of its components are independent.
The third is constrained by the condition that 𝒌 is of unit
length.
Therefore, only three independent quantities are
required in this representation of a rotation 𝑹. We can
represent the equivalent axis/angle by a single vector 𝒓
as:
since 𝒌 is a unit vector, the length of the vector 𝒓 is the
equivalent angle 𝜽 and the direction of 𝒓 is the equivalent
axis 𝒌.
10/17/2017
Rigid Motions
A rigid motion is a pure translation together with a pure rotation.
A rigid motion is an ordered pair (𝒅, 𝑹) where 𝒅 ∈ ℝ𝟑 and 𝑹
∈ 𝑺𝑶 𝟑 . The group of all rigid motions is known as the Special
Euclidean Group and is denoted by 𝑺𝑬 𝟑 . We see then that
𝑺𝑬 𝟑 = ℝ𝟑 × 𝑺𝑶 𝟑 .
10/17/2017
One Rigid Motion
If frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 is obtained from frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 by first applying a rotation
specified by 𝑹𝟏
𝟎
𝑥0
𝑦0
𝑧0
𝑥0
𝑦0
𝑧0
𝑦1
𝑥1
𝑧1
10/17/2017
One Rigid Motion
If frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 is obtained from frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 by first applying a rotation
specified by 𝑹𝟏
𝟎
followed by a translation given (with respect to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎) by 𝒅𝟏
𝟎
𝑥0
𝑦0
𝑧0
𝑹𝟏
𝟎
𝑥0
𝑦0
𝑧0
𝑦1
𝑥1
𝑧1
10/17/2017
One Rigid Motion
If frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 is obtained from frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 by first applying a rotation
specified by 𝑹𝟏
𝟎
followed by a translation given (with respect to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎) by 𝒅𝟏
𝟎
𝑥0
𝑦0
𝑧0
𝑦1
𝑥1
𝑧1
𝒅𝟏
𝟎
𝑹𝟏
𝟎
𝒑
𝑥0
𝑦0
𝑧0
𝑦1
𝑥1
𝑧1
10/17/2017
One Rigid Motion
If frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 is obtained from frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 by first applying a rotation
specified by 𝑹𝟏
𝟎
followed by a translation given (with respect to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎) by 𝒅𝟏
𝟎
,
then the coordinates 𝒑𝟎 are given by:
𝑥0
𝑦0
𝑧0
𝑦1
𝑥1
𝑧1
𝒅𝟏
𝟎
𝑹𝟏
𝟎
𝒑
𝑥0
𝑦0
𝑧0
𝑦1
𝑥1
𝑧1
𝒑𝟎
𝒑𝟏
10/17/2017
One Rigid Motion
If frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 is obtained from frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 by first applying a rotation
specified by 𝑹𝟏
𝟎
followed by a translation given (with respect to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎) by 𝒅𝟏
𝟎
,
then the coordinates 𝒑𝟎 are given by:
𝒑𝟎 = 𝑹𝟏
𝟎
𝒑𝟏 + 𝒅𝟏
𝟎
𝑥0
𝑦0
𝑧0
𝑦1
𝑥1
𝑧1
𝒅𝟏
𝟎
𝑹𝟏
𝟎
𝒑
𝑥0
𝑦0
𝑧0
𝑦1
𝑥1
𝑧1
𝒑𝟎
𝒑𝟏
10/17/2017
One Rigid Motion
If frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 is obtained from frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 by first applying a rotation
specified by 𝑹𝟏
𝟎
followed by a translation given (with respect to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎) by 𝒅𝟏
𝟎
,
then the coordinates 𝒑𝟎 are given by:
𝒑𝟎 = 𝑹𝟏
𝟎
𝒑𝟏 + 𝒅𝟏
𝟎
𝑥0
𝑦0
𝑧0
𝑦1
𝑥1
𝑧1
𝒅𝟏
𝟎
𝑹𝟏
𝟎
𝒑
𝑥0
𝑦0
𝑧0
𝑦1
𝑥1
𝑧1
𝒑𝟎
𝒑𝟏
10/17/2017
Two Rigid Motions
If frame 𝒐𝟐 𝒙𝟐 𝒚𝟐 𝒛𝟐 is obtained from frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 by first applying a rotation
specified by 𝑹𝟐
𝟏
followed by a translation given (with respect to 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏) by 𝒅𝟐
𝟏
.
If frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 is obtained from frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 by first applying a rotation
specified by 𝑹𝟏
𝟎
followed by a translation given (with respect to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎) by 𝒅𝟏
𝟎
,
find the coordinates 𝒑𝟎.
𝑥0
𝑦0
𝑧0
𝑦1
𝑥1
𝑧1
𝒑
𝑧2
𝑦2
𝑥2
For the first rigid motion:
𝒑𝟎
= 𝑹𝟏
𝟎
𝒑𝟏
+ 𝒅𝟏
𝟎
For the second rigid motion:
𝒑𝟏
= 𝑹𝟐
𝟏
𝒑𝟐
+ 𝒅𝟐
𝟏
Both rigid motions can be described as one rigid
motion:
𝒑𝟎
= 𝑹𝟐
𝟎
𝒑𝟐
+ 𝒅𝟐
𝟎
𝒑𝟎 = 𝑹𝟏
𝟎
𝑹𝟐
𝟏
𝒑𝟐 + 𝑹𝟏
𝟎
𝒅𝟐
𝟏
+ 𝒅𝟏
𝟎
10/17/2017
Two Rigid Motions
𝑥0
𝑦0
𝑧0
𝑦1
𝑥1
𝑧1
𝒑
𝑧2
𝑦2
𝑥2
𝑹𝟐
𝟎
The orientation transformations can simply be multiplied together.
𝒅𝟐
𝟎
The translation transformation is the sum of:
• 𝒅𝟏
𝟎
the vector from the origin 𝑜0 to the origin 𝑜1 expressed with respect to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎.
• 𝑹𝟏
𝟎
𝒅𝟐
𝟏
the vector from 𝑜1 to 𝑜2 expressed in the orientation of the coordinate system
𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎.
𝒑𝟎 = 𝑹𝟏
𝟎
𝑹𝟐
𝟏
𝒑𝟐 + 𝑹𝟏
𝟎
𝒅𝟐
𝟏
+ 𝒅𝟏
𝟎
10/17/2017
Three Rigid Motions
𝑥0
𝑦0
𝑧0
𝑦1
𝑥1
𝑧1
𝒑
𝑧2
𝑦2
𝑥2
𝒑𝟎
= ?
𝑧3
𝑦3
𝑥3
10/17/2017
Homogeneous Transformations
𝑥0
𝑦0
𝑧0
𝑦1
𝑥1
𝑧1
𝒑
𝑧2
𝑦2
𝑥2
𝒑𝟎
= ?
𝑧𝑛
𝑦𝑛
𝑥𝑛
A long sequence of rigid motions, find 𝒑𝟎.
𝒑𝟎
= 𝑹𝒏
𝟎
𝒑𝒏
+ 𝒅𝒏
𝟎
10/17/2017
Homogeneous Transformations
𝑥0
𝑦0
𝑧0
𝑦1
𝑥1
𝑧1
𝒑
𝑧2
𝑦2
𝑥2
𝒑𝟎
= ?
𝑧𝑛
𝑦𝑛
𝑥𝑛
A long sequence of rigid motions, find 𝒑𝟎.
Represent rigid motions in matrix so that
composition of rigid motions can be reduced to
matrix multiplication as was the case for
composition of rotations
𝒑𝟎
= 𝑹𝒏
𝟎
𝒑𝒏
+ 𝒅𝒏
𝟎
10/17/2017
Homogeneous Transformations
A long sequence of rigid motions, find 𝒑𝟎.
Represent rigid motions in matrix so that
composition of rigid motions can be reduced to
matrix multiplication as was the case for
composition of rotations
𝒑𝟎
= 𝑹𝒏
𝟎
𝒑𝒏
+ 𝒅𝒏
𝟎
𝐇 =
𝑹 𝒅
; 𝒅 ∈ ℝ𝟑
, 𝑹 ∈ 𝑺𝑶 𝟑
10/17/2017
Homogeneous Transformations
A long sequence of rigid motions, find 𝒑𝟎.
Represent rigid motions in matrix so that
composition of rigid motions can be reduced to
matrix multiplication as was the case for
composition of rotations
𝒑𝟎
= 𝑹𝒏
𝟎
𝒑𝒏
+ 𝒅𝒏
𝟎
𝐇 =
𝑹 𝒅
𝟎 𝟏
; 𝒅 ∈ ℝ𝟑
, 𝑹 ∈ 𝑺𝑶 𝟑
Transformation matrices of the form H are called homogeneous transformations.
A homogeneous transformation is therefore a matrix representation of a rigid motion.
10/17/2017
Homogeneous Transformations
A long sequence of rigid motions, find 𝒑𝟎.
Represent rigid motions in matrix so that
composition of rigid motions can be reduced to
matrix multiplication as was the case for
composition of rotations
𝒑𝟎
= 𝑹𝒏
𝟎
𝒑𝒏
+ 𝒅𝒏
𝟎
𝐇 =
𝑹 𝒅
𝟎 𝟏
; 𝒅 ∈ ℝ𝟑
, 𝑹 ∈ 𝑺𝑶 𝟑
𝐇−𝟏
= 𝑹𝑻 −𝑹𝑻𝒅
𝟎 𝟏
The inverse transformation 𝑯−𝟏is given by
10/17/2017
Ex. :Two Rigid Motions
𝑥0
𝑦0
𝑧0
𝑦1
𝑥1
𝑧1
𝒑
𝑧2
𝑦2
𝑥2
𝑹𝟐
𝟎
The orientation transformations can simply be multiplied together.
𝒅𝟐
𝟎
The translation transformation is the sum of:
• 𝒅𝟏
𝟎
the vector from the origin 𝑜0 to the origin 𝑜1 expressed with respect to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎.
• 𝑹𝟏
𝟎
𝒅𝟐
𝟏
the vector from 𝑜1 to 𝑜2 expressed in the orientation of the coordinate system
𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎.
𝒑𝟎 = 𝑹𝟏
𝟎
𝑹𝟐
𝟏
𝒑𝟐 + 𝑹𝟏
𝟎
𝒅𝟐
𝟏
+ 𝒅𝟏
𝟎
𝐇 =
𝑹 𝒅
𝟎 𝟏
; 𝒅 ∈ ℝ𝟑, 𝑹 ∈ 𝑺𝑶 𝟑
𝑹𝟏
𝟎
𝒅𝟏
𝟎
𝟎 𝟏
𝑹𝟐
𝟏
𝒅𝟐
𝟏
𝟎 𝟏
= 𝑹𝟏
𝟎
𝑹𝟐
𝟏
𝑹𝟏
𝟎
𝒅𝟐
𝟏
+ 𝒅𝟏
𝟎
0 1
10/17/2017
Ex. :Two Rigid Motions
𝑥0
𝑦0
𝑧0
𝑦1
𝑥1
𝑧1
𝒑
𝑧2
𝑦2
𝑥2
𝑹𝟐
𝟎
The orientation transformations can simply be multiplied together.
𝒅𝟐
𝟎
The translation transformation is the sum of:
• 𝒅𝟏
𝟎
the vector from the origin 𝑜0 to the origin 𝑜1 expressed with respect to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎.
• 𝑹𝟏
𝟎
𝒅𝟐
𝟏
the vector from 𝑜1 to 𝑜2 expressed in the orientation of the coordinate system
𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎.
𝒑𝟎 = 𝑹𝟏
𝟎
𝑹𝟐
𝟏
𝒑𝟐 + 𝑹𝟏
𝟎
𝒅𝟐
𝟏
+ 𝒅𝟏
𝟎
𝐇 =
𝑹 𝒅
𝟎 𝟏
; 𝒅 ∈ ℝ𝟑, 𝑹 ∈ 𝑺𝑶 𝟑
𝑹𝟏
𝟎
𝒅𝟏
𝟎
𝟎 𝟏
𝑹𝟐
𝟏
𝒅𝟐
𝟏
𝟎 𝟏
= 𝑹𝟏
𝟎
𝑹𝟐
𝟏
𝑹𝟏
𝟎
𝒅𝟐
𝟏
+ 𝒅𝟏
𝟎
0 1
10/17/2017
Ex. :Two Rigid Motions
𝑥0
𝑦0
𝑧0
𝑦1
𝑥1
𝑧1
𝒑
𝑧2
𝑦2
𝑥2
𝑹𝟐
𝟎
The orientation transformations can simply be multiplied together.
𝒅𝟐
𝟎
The translation transformation is the sum of:
• 𝒅𝟏
𝟎
the vector from the origin 𝑜0 to the origin 𝑜1 expressed with respect to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎.
• 𝑹𝟏
𝟎
𝒅𝟐
𝟏
the vector from 𝑜1 to 𝑜2 expressed in the orientation of the coordinate system
𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎.
𝒑𝟎 = 𝑹𝟏
𝟎
𝑹𝟐
𝟏
𝒑𝟐 + 𝑹𝟏
𝟎
𝒅𝟐
𝟏
+ 𝒅𝟏
𝟎
𝐇 =
𝑹 𝒅
𝟎 𝟏
; 𝒅 ∈ ℝ𝟑, 𝑹 ∈ 𝑺𝑶 𝟑
𝑹𝟏
𝟎
𝒅𝟏
𝟎
𝟎 𝟏
𝑹𝟐
𝟏
𝒅𝟐
𝟏
𝟎 𝟏
= 𝑹𝟏
𝟎
𝑹𝟐
𝟏
𝑹𝟏
𝟎
𝒅𝟐
𝟏
+ 𝒅𝟏
𝟎
0 1
10/17/2017
Ex. :Two Rigid Motions
𝑥0
𝑦0
𝑧0
𝑦1
𝑥1
𝑧1
𝒑
𝑧2
𝑦2
𝑥2
𝑹𝟐
𝟎
The orientation transformations can simply be multiplied together.
𝒅𝟐
𝟎
The translation transformation is the sum of:
• 𝒅𝟏
𝟎
the vector from the origin 𝑜0 to the origin 𝑜1 expressed with respect to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎.
• 𝑹𝟏
𝟎
𝒅𝟐
𝟏
the vector from 𝑜1 to 𝑜2 expressed in the orientation of the coordinate system
𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎.
𝒑𝟎 = 𝑹𝟏
𝟎
𝑹𝟐
𝟏
𝒑𝟐 + 𝑹𝟏
𝟎
𝒅𝟐
𝟏
+ 𝒅𝟏
𝟎
𝐇 =
𝑹 𝒅
𝟎 𝟏
; 𝒅 ∈ ℝ𝟑, 𝑹 ∈ 𝑺𝑶 𝟑
𝑹𝟏
𝟎
𝒅𝟏
𝟎
𝟎 𝟏
𝑹𝟐
𝟏
𝒅𝟐
𝟏
𝟎 𝟏
= 𝑹𝟏
𝟎
𝑹𝟐
𝟏
𝑹𝟏
𝟎
𝒅𝟐
𝟏
+ 𝒅𝟏
𝟎
0 1
We must augment the vectors 𝒑𝟎
, 𝒑𝟏
and 𝒑𝟐
by the addition
of a fourth component of 1:
𝑷𝟎
= 𝒑𝟎
1
, 𝑷𝟏
= 𝒑𝟏
1
, 𝑷𝟐
= 𝒑𝟐
1
10/17/2017
Homogeneous Transformations
𝑷𝟎 = 𝑯𝟏
𝟎
𝑷𝟏
𝑷𝟎
= 𝑯𝟐
𝟎
𝑷𝟐
…..
𝑷𝟎 = 𝑯𝒏
𝟎𝑷𝒏
𝑦0
𝑧0
𝑦1
𝑥1
𝑧1
𝒑
𝑧2
𝑦2
𝑥2
𝑧𝑛
𝑦𝑛
𝑥𝑛
𝑷𝟎 = 𝒑𝟎
1
10/17/2017
Basic Homogeneous Transformations
z
10/17/2017
Homogeneous Transformations
𝐻1
0
=
𝑛𝑥 𝑠𝑥
𝑛𝑦 𝑠𝑦
𝑎𝑥 𝑑𝑥
𝑎𝑦 𝑑𝑦
𝑛𝑧 𝑠𝑧
0 0
𝑎𝑧 𝑑𝑧
0 1
=
𝑛 𝑠
0 0
𝑎 𝑑
0 1
𝒏 is a vector representing the direction of 𝒙𝟏 in the 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 system
𝒔 is a vector representing the direction of 𝒚𝟏 in the 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 system
𝒂 is a vector representing the direction of 𝒛𝟏 in the 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 system
10/17/2017
Composition Rule For Homogeneous
Transformations
Given a homogeneous transformation 𝑯𝟏
𝟎
relating two frames, if a second rigid
motion, represented by 𝑯 is performed relative to the current frame, then:
𝐻 2
0
= 𝐻1
0
𝐻
whereas if the second rigid motion is performed relative to the fixed frame, then:
𝐻 2
0
= 𝐻 𝐻1
0
10/17/2017
Example
Find 𝑯 for the following sequence of
1. a rotation by 𝜶 about the current 𝒙 − 𝒂𝒙𝒊𝒔, followed by
2. a translation of 𝒃 units along the current 𝒙 − 𝒂𝒙𝒊𝒔, followed by
3. a translation of 𝒅 units along the current 𝒛 − 𝒂𝒙𝒊𝒔, followed by
4. a rotation by angle 𝚹 about the current 𝒛 − 𝒂𝒙𝒊𝒔
Transformation with
respect to the current
frame
𝑯 𝟐
𝟎
= 𝑯𝟏
𝟎
𝑯
Transformation with
respect to the fixed
frame
𝑯 𝟐
𝟎
= 𝑯 𝑯𝟏
𝟎
Reminder:
10/17/2017
Example
Find 𝑯 for the following sequence of
1. a rotation by 𝜶 about the current 𝒙 − 𝒂𝒙𝒊𝒔, followed by
2. a translation of 𝒃 units along the current 𝒙 − 𝒂𝒙𝒊𝒔, followed by
3. a translation of 𝒅 units along the current 𝒛 − 𝒂𝒙𝒊𝒔, followed by
4. a rotation by angle 𝚹 about the current 𝒛 − 𝒂𝒙𝒊𝒔
Transformation with
respect to the current
frame
𝑯 𝟐
𝟎
= 𝑯𝟏
𝟎
𝑯
Transformation with
respect to the fixed
frame
𝑯 𝟐
𝟎
= 𝑯 𝑯𝟏
𝟎
Reminder:
10/17/2017
Example
Find 𝑯 for the following sequence of
1. a rotation by 𝜶 about the current 𝒙 − 𝒂𝒙𝒊𝒔, followed by
2. a translation of 𝒃 units along the current 𝒙 − 𝒂𝒙𝒊𝒔, followed by
3. a translation of 𝒅 units along the current 𝒛 − 𝒂𝒙𝒊𝒔, followed by
4. a rotation by angle 𝚹 about the current 𝒛 − 𝒂𝒙𝒊𝒔
Transformation with
respect to the current
frame
𝑯 𝟐
𝟎
= 𝑯𝟏
𝟎
𝑯
Transformation with
respect to the fixed
frame
𝑯 𝟐
𝟎
= 𝑯 𝑯𝟏
𝟎
Reminder:
10/17/2017
Example
Find 𝑯 for the following sequence of
1. a rotation by 𝜶 about the current 𝒙 − 𝒂𝒙𝒊𝒔, followed by
2. a translation of 𝒃 units along the current 𝒙 − 𝒂𝒙𝒊𝒔, followed by
3. a translation of 𝒅 units along the current 𝒛 − 𝒂𝒙𝒊𝒔, followed by
4. a rotation by angle 𝚹 about the current 𝒛 − 𝒂𝒙𝒊𝒔
Transformation with
respect to the current
frame
𝑯 𝟐
𝟎
= 𝑯𝟏
𝟎
𝑯
Transformation with
respect to the fixed
frame
𝑯 𝟐
𝟎
= 𝑯 𝑯𝟏
𝟎
Reminder:
10/17/2017
Example
Find 𝑯 for the following sequence of
1. a rotation by 𝜶 about the current 𝒙 − 𝒂𝒙𝒊𝒔, followed by
2. a translation of 𝒃 units along the current 𝒙 − 𝒂𝒙𝒊𝒔, followed by
3. a translation of 𝒅 units along the current 𝒛 − 𝒂𝒙𝒊𝒔, followed by
4. a rotation by angle 𝚹 about the current 𝒛 − 𝒂𝒙𝒊𝒔
Transformation with
respect to the current
frame
𝑯 𝟐
𝟎
= 𝑯𝟏
𝟎
𝑯
Transformation with
respect to the fixed
frame
𝑯 𝟐
𝟎
= 𝑯 𝑯𝟏
𝟎
Reminder:
10/17/2017
Example
Find 𝑯 for the following sequence of
1. a rotation by 𝜶 about the current 𝒙 − 𝒂𝒙𝒊𝒔, followed by
2. a translation of 𝒃 units along the current 𝒙 − 𝒂𝒙𝒊𝒔, followed by
3. a translation of 𝒅 units along the current 𝒛 − 𝒂𝒙𝒊𝒔, followed by
4. a rotation by angle 𝚹 about the current 𝒛 − 𝒂𝒙𝒊𝒔
Transformation with
respect to the current
frame
𝑯 𝟐
𝟎
= 𝑯𝟏
𝟎
𝑯
Transformation with
respect to the fixed
frame
𝑯 𝟐
𝟎
= 𝑯 𝑯𝟏
𝟎
Reminder:
10/17/2017
Example
Find the homogeneous transformations 𝑯𝟏
𝟎
, 𝑯𝟐
𝟎
, 𝑯𝟐
𝟏
representing the transformations among the three frames
Shown. Show that 𝑯𝟐
𝟎
= 𝑯𝟏
𝟎
𝑯𝟐
𝟏
.

More Related Content

What's hot

Unit IV robotics-- Kinematics
Unit IV robotics-- KinematicsUnit IV robotics-- Kinematics
Unit IV robotics-- Kinematics
Dr.G.Saravanan
 
Robotics ch 4 robot dynamics
Robotics ch 4 robot dynamicsRobotics ch 4 robot dynamics
Robotics ch 4 robot dynamics
Charlton Inao
 
11 kinematicsrobot
11 kinematicsrobot11 kinematicsrobot
11 kinematicsrobot
Pallavi Choudekar
 
Inverse Kinematics
Inverse KinematicsInverse Kinematics
Inverse Kinematics
Hitesh Mohapatra
 
Ec6003 robotics and automation notes
Ec6003   robotics and automation notesEc6003   robotics and automation notes
Ec6003 robotics and automation notes
JAIGANESH SEKAR
 
An introduction to robotics classification, kinematics and hardware
An introduction to robotics classification, kinematics and hardwareAn introduction to robotics classification, kinematics and hardware
An introduction to robotics classification, kinematics and hardware
Nikhil Shrivas
 
Robot kinematics
Robot kinematicsRobot kinematics
Robot kinematics
Varinder Singh
 
Robot manipulator
Robot manipulatorRobot manipulator
Robot manipulator
Ganesh Murugan
 
Manipulator kinematics
Manipulator kinematicsManipulator kinematics
Manipulator kinematics
Sudhir Reddy
 
INTRODUCTION TO ROBOTICS
INTRODUCTION TO ROBOTICSINTRODUCTION TO ROBOTICS
RMV Mechanics
RMV MechanicsRMV Mechanics
RMV Mechanics
anand hd
 
Robotics position and orientation
Robotics position and orientationRobotics position and orientation
Robotics position and orientation
Thiyagarajan Palanisamy
 
Robot work cell layout
Robot work cell layoutRobot work cell layout
Robot work cell layout
rampragash ramamoorthy
 
Robotics
RoboticsRobotics
Robotics
Deepam Goyal
 
NONLINEAR CONTROL SYSTEM (Phase plane & Phase Trajectory Method)
NONLINEAR CONTROL SYSTEM(Phase plane & Phase Trajectory Method)NONLINEAR CONTROL SYSTEM(Phase plane & Phase Trajectory Method)
NONLINEAR CONTROL SYSTEM (Phase plane & Phase Trajectory Method)
Niraj Solanki
 
Transfer function and mathematical modeling
Transfer  function  and  mathematical  modelingTransfer  function  and  mathematical  modeling
Transfer function and mathematical modeling
vishalgohel12195
 
Dek3223 chapter 3 industrial robotic
Dek3223 chapter 3 industrial roboticDek3223 chapter 3 industrial robotic
Dek3223 chapter 3 industrial robotic
mkazree
 
Chapter 2 robot kinematics
Chapter 2   robot kinematicsChapter 2   robot kinematics
Chapter 2 robot kinematics
nguyendattdh
 
Robot control
Robot controlRobot control
Robot control
Hiran Gabriel
 
Introduction to Robotics
Introduction to Robotics Introduction to Robotics
Introduction to Robotics
YAZEN SHAKIR
 

What's hot (20)

Unit IV robotics-- Kinematics
Unit IV robotics-- KinematicsUnit IV robotics-- Kinematics
Unit IV robotics-- Kinematics
 
Robotics ch 4 robot dynamics
Robotics ch 4 robot dynamicsRobotics ch 4 robot dynamics
Robotics ch 4 robot dynamics
 
11 kinematicsrobot
11 kinematicsrobot11 kinematicsrobot
11 kinematicsrobot
 
Inverse Kinematics
Inverse KinematicsInverse Kinematics
Inverse Kinematics
 
Ec6003 robotics and automation notes
Ec6003   robotics and automation notesEc6003   robotics and automation notes
Ec6003 robotics and automation notes
 
An introduction to robotics classification, kinematics and hardware
An introduction to robotics classification, kinematics and hardwareAn introduction to robotics classification, kinematics and hardware
An introduction to robotics classification, kinematics and hardware
 
Robot kinematics
Robot kinematicsRobot kinematics
Robot kinematics
 
Robot manipulator
Robot manipulatorRobot manipulator
Robot manipulator
 
Manipulator kinematics
Manipulator kinematicsManipulator kinematics
Manipulator kinematics
 
INTRODUCTION TO ROBOTICS
INTRODUCTION TO ROBOTICSINTRODUCTION TO ROBOTICS
INTRODUCTION TO ROBOTICS
 
RMV Mechanics
RMV MechanicsRMV Mechanics
RMV Mechanics
 
Robotics position and orientation
Robotics position and orientationRobotics position and orientation
Robotics position and orientation
 
Robot work cell layout
Robot work cell layoutRobot work cell layout
Robot work cell layout
 
Robotics
RoboticsRobotics
Robotics
 
NONLINEAR CONTROL SYSTEM (Phase plane & Phase Trajectory Method)
NONLINEAR CONTROL SYSTEM(Phase plane & Phase Trajectory Method)NONLINEAR CONTROL SYSTEM(Phase plane & Phase Trajectory Method)
NONLINEAR CONTROL SYSTEM (Phase plane & Phase Trajectory Method)
 
Transfer function and mathematical modeling
Transfer  function  and  mathematical  modelingTransfer  function  and  mathematical  modeling
Transfer function and mathematical modeling
 
Dek3223 chapter 3 industrial robotic
Dek3223 chapter 3 industrial roboticDek3223 chapter 3 industrial robotic
Dek3223 chapter 3 industrial robotic
 
Chapter 2 robot kinematics
Chapter 2   robot kinematicsChapter 2   robot kinematics
Chapter 2 robot kinematics
 
Robot control
Robot controlRobot control
Robot control
 
Introduction to Robotics
Introduction to Robotics Introduction to Robotics
Introduction to Robotics
 

Similar to rotational matrix.pdf

3-D Transformation in Computer Graphics
3-D Transformation in Computer Graphics3-D Transformation in Computer Graphics
3-D Transformation in Computer Graphics
SanthiNivas
 
Mechanism (engineering)
Mechanism (engineering)Mechanism (engineering)
Mechanism (engineering)
Manish Nepal
 
Kinematically_exact_curved_and_twisted_strain-based_beam.pdf
Kinematically_exact_curved_and_twisted_strain-based_beam.pdfKinematically_exact_curved_and_twisted_strain-based_beam.pdf
Kinematically_exact_curved_and_twisted_strain-based_beam.pdf
esmaeelghafari2
 
Homogeneous Representation: rotating, shearing
Homogeneous Representation: rotating, shearingHomogeneous Representation: rotating, shearing
Homogeneous Representation: rotating, shearing
Manthan Kanani
 
Combinations
CombinationsCombinations
Combinations
jtentinger
 
Mathematical Structure of Kinematic Model
Mathematical Structure of Kinematic ModelMathematical Structure of Kinematic Model
Mathematical Structure of Kinematic Model
Hitesh Mohapatra
 
Unit 1. day 4
Unit 1. day 4Unit 1. day 4
Unit 1. day 4
tifanieslaymaker
 
4852014.pptx
4852014.pptx4852014.pptx
4852014.pptx
ssuser72b8e8
 
Vector calculus in Robotics Engineering
Vector calculus in Robotics EngineeringVector calculus in Robotics Engineering
Vector calculus in Robotics Engineering
Naveensing87
 
A two DOF spherical parallel platform posture analysis based on kinematic pri...
A two DOF spherical parallel platform posture analysis based on kinematic pri...A two DOF spherical parallel platform posture analysis based on kinematic pri...
A two DOF spherical parallel platform posture analysis based on kinematic pri...
IJRES Journal
 
Surface classification using conformal structures
Surface classification using conformal structuresSurface classification using conformal structures
Surface classification using conformal structures
Evans Marshall
 
Beam deflection gere
Beam deflection gereBeam deflection gere
Beam deflection gere
Yatin Singh
 
47032417.pdf
47032417.pdf47032417.pdf
47032417.pdf
RismanYusuf1
 
Crystallography and X-ray diffraction (XRD) Likhith K
Crystallography and X-ray diffraction (XRD) Likhith KCrystallography and X-ray diffraction (XRD) Likhith K
Crystallography and X-ray diffraction (XRD) Likhith K
LIKHITHK1
 
6.position analysis
6.position analysis6.position analysis
6.position analysis
varun teja G.V.V
 
MOTION IN A PLANE.pptx
MOTION IN A PLANE.pptxMOTION IN A PLANE.pptx
MOTION IN A PLANE.pptx
Shivam Dave
 
IRJET- On the Generalization of Lami’s Theorem
IRJET- On the Generalization of Lami’s TheoremIRJET- On the Generalization of Lami’s Theorem
IRJET- On the Generalization of Lami’s Theorem
IRJET Journal
 
Www.cs.berkeley.edu kunal
Www.cs.berkeley.edu kunalWww.cs.berkeley.edu kunal
Www.cs.berkeley.edu kunal
Kunal Kishor Nirala
 
uc
ucuc
Boris Stoyanov - The Exclusive Constructions of Chern-Simons Branes
Boris Stoyanov - The Exclusive Constructions of Chern-Simons BranesBoris Stoyanov - The Exclusive Constructions of Chern-Simons Branes
Boris Stoyanov - The Exclusive Constructions of Chern-Simons Branes
Boris Stoyanov
 

Similar to rotational matrix.pdf (20)

3-D Transformation in Computer Graphics
3-D Transformation in Computer Graphics3-D Transformation in Computer Graphics
3-D Transformation in Computer Graphics
 
Mechanism (engineering)
Mechanism (engineering)Mechanism (engineering)
Mechanism (engineering)
 
Kinematically_exact_curved_and_twisted_strain-based_beam.pdf
Kinematically_exact_curved_and_twisted_strain-based_beam.pdfKinematically_exact_curved_and_twisted_strain-based_beam.pdf
Kinematically_exact_curved_and_twisted_strain-based_beam.pdf
 
Homogeneous Representation: rotating, shearing
Homogeneous Representation: rotating, shearingHomogeneous Representation: rotating, shearing
Homogeneous Representation: rotating, shearing
 
Combinations
CombinationsCombinations
Combinations
 
Mathematical Structure of Kinematic Model
Mathematical Structure of Kinematic ModelMathematical Structure of Kinematic Model
Mathematical Structure of Kinematic Model
 
Unit 1. day 4
Unit 1. day 4Unit 1. day 4
Unit 1. day 4
 
4852014.pptx
4852014.pptx4852014.pptx
4852014.pptx
 
Vector calculus in Robotics Engineering
Vector calculus in Robotics EngineeringVector calculus in Robotics Engineering
Vector calculus in Robotics Engineering
 
A two DOF spherical parallel platform posture analysis based on kinematic pri...
A two DOF spherical parallel platform posture analysis based on kinematic pri...A two DOF spherical parallel platform posture analysis based on kinematic pri...
A two DOF spherical parallel platform posture analysis based on kinematic pri...
 
Surface classification using conformal structures
Surface classification using conformal structuresSurface classification using conformal structures
Surface classification using conformal structures
 
Beam deflection gere
Beam deflection gereBeam deflection gere
Beam deflection gere
 
47032417.pdf
47032417.pdf47032417.pdf
47032417.pdf
 
Crystallography and X-ray diffraction (XRD) Likhith K
Crystallography and X-ray diffraction (XRD) Likhith KCrystallography and X-ray diffraction (XRD) Likhith K
Crystallography and X-ray diffraction (XRD) Likhith K
 
6.position analysis
6.position analysis6.position analysis
6.position analysis
 
MOTION IN A PLANE.pptx
MOTION IN A PLANE.pptxMOTION IN A PLANE.pptx
MOTION IN A PLANE.pptx
 
IRJET- On the Generalization of Lami’s Theorem
IRJET- On the Generalization of Lami’s TheoremIRJET- On the Generalization of Lami’s Theorem
IRJET- On the Generalization of Lami’s Theorem
 
Www.cs.berkeley.edu kunal
Www.cs.berkeley.edu kunalWww.cs.berkeley.edu kunal
Www.cs.berkeley.edu kunal
 
uc
ucuc
uc
 
Boris Stoyanov - The Exclusive Constructions of Chern-Simons Branes
Boris Stoyanov - The Exclusive Constructions of Chern-Simons BranesBoris Stoyanov - The Exclusive Constructions of Chern-Simons Branes
Boris Stoyanov - The Exclusive Constructions of Chern-Simons Branes
 

Recently uploaded

Here's Why Every Semi-Truck Should Have ELDs
Here's Why Every Semi-Truck Should Have ELDsHere's Why Every Semi-Truck Should Have ELDs
Here's Why Every Semi-Truck Should Have ELDs
jennifermiller8137
 
快速办理(napier毕业证书)英国龙比亚大学毕业证在读证明一模一样
快速办理(napier毕业证书)英国龙比亚大学毕业证在读证明一模一样快速办理(napier毕业证书)英国龙比亚大学毕业证在读证明一模一样
快速办理(napier毕业证书)英国龙比亚大学毕业证在读证明一模一样
78tq3hi2
 
一比一原版(Columbia文凭证书)哥伦比亚大学毕业证如何办理
一比一原版(Columbia文凭证书)哥伦比亚大学毕业证如何办理一比一原版(Columbia文凭证书)哥伦比亚大学毕业证如何办理
一比一原版(Columbia文凭证书)哥伦比亚大学毕业证如何办理
afkxen
 
按照学校原版(UniSA文凭证书)南澳大学毕业证快速办理
按照学校原版(UniSA文凭证书)南澳大学毕业证快速办理按照学校原版(UniSA文凭证书)南澳大学毕业证快速办理
按照学校原版(UniSA文凭证书)南澳大学毕业证快速办理
ggany
 
EN Artificial Intelligence by Slidesgo.pptx
EN Artificial Intelligence by Slidesgo.pptxEN Artificial Intelligence by Slidesgo.pptx
EN Artificial Intelligence by Slidesgo.pptx
aichamardi99
 
原版制作(Exeter毕业证书)埃克塞特大学毕业证完成信一模一样
原版制作(Exeter毕业证书)埃克塞特大学毕业证完成信一模一样原版制作(Exeter毕业证书)埃克塞特大学毕业证完成信一模一样
原版制作(Exeter毕业证书)埃克塞特大学毕业证完成信一模一样
78tq3hi2
 
Dahua Security Camera System Guide esetia
Dahua Security Camera System Guide esetiaDahua Security Camera System Guide esetia
Dahua Security Camera System Guide esetia
Esentia Systems
 
EV Charging at Multifamily Properties by Kevin Donnelly
EV Charging at Multifamily Properties by Kevin DonnellyEV Charging at Multifamily Properties by Kevin Donnelly
EV Charging at Multifamily Properties by Kevin Donnelly
Forth
 
AadiShakti Projects ( Asp Cranes ) Raipur
AadiShakti Projects ( Asp Cranes ) RaipurAadiShakti Projects ( Asp Cranes ) Raipur
AadiShakti Projects ( Asp Cranes ) Raipur
AadiShakti Projects
 
Catalytic Converter theft prevention - NYC.pptx
Catalytic Converter theft prevention - NYC.pptxCatalytic Converter theft prevention - NYC.pptx
Catalytic Converter theft prevention - NYC.pptx
Blue Star Brothers
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理
u2cz10zq
 
EV Charging at MFH Properties by Whitaker Jamieson
EV Charging at MFH Properties by Whitaker JamiesonEV Charging at MFH Properties by Whitaker Jamieson
EV Charging at MFH Properties by Whitaker Jamieson
Forth
 
原版制作(澳洲WSU毕业证书)西悉尼大学毕业证文凭证书一模一样
原版制作(澳洲WSU毕业证书)西悉尼大学毕业证文凭证书一模一样原版制作(澳洲WSU毕业证书)西悉尼大学毕业证文凭证书一模一样
原版制作(澳洲WSU毕业证书)西悉尼大学毕业证文凭证书一模一样
g1inbfro
 
Charging Fueling & Infrastructure (CFI) Program Resources by Cat Plein
Charging Fueling & Infrastructure (CFI) Program Resources by Cat PleinCharging Fueling & Infrastructure (CFI) Program Resources by Cat Plein
Charging Fueling & Infrastructure (CFI) Program Resources by Cat Plein
Forth
 
53286592-Global-Entrepreneurship-and-the-Successful-Growth-Strategies-of-Earl...
53286592-Global-Entrepreneurship-and-the-Successful-Growth-Strategies-of-Earl...53286592-Global-Entrepreneurship-and-the-Successful-Growth-Strategies-of-Earl...
53286592-Global-Entrepreneurship-and-the-Successful-Growth-Strategies-of-Earl...
MarynaYurchenko2
 
Charging Fueling & Infrastructure (CFI) Program by Kevin Miller
Charging Fueling & Infrastructure (CFI) Program  by Kevin MillerCharging Fueling & Infrastructure (CFI) Program  by Kevin Miller
Charging Fueling & Infrastructure (CFI) Program by Kevin Miller
Forth
 
Expanding Access to Affordable At-Home EV Charging by Vanessa Warheit
Expanding Access to Affordable At-Home EV Charging by Vanessa WarheitExpanding Access to Affordable At-Home EV Charging by Vanessa Warheit
Expanding Access to Affordable At-Home EV Charging by Vanessa Warheit
Forth
 
Charging and Fueling Infrastructure Grant: Round 2 by Brandt Hertenstein
Charging and Fueling Infrastructure Grant: Round 2 by Brandt HertensteinCharging and Fueling Infrastructure Grant: Round 2 by Brandt Hertenstein
Charging and Fueling Infrastructure Grant: Round 2 by Brandt Hertenstein
Forth
 
一比一原版(WashU文凭证书)圣路易斯华盛顿大学毕业证如何办理
一比一原版(WashU文凭证书)圣路易斯华盛顿大学毕业证如何办理一比一原版(WashU文凭证书)圣路易斯华盛顿大学毕业证如何办理
一比一原版(WashU文凭证书)圣路易斯华盛顿大学毕业证如何办理
afkxen
 

Recently uploaded (19)

Here's Why Every Semi-Truck Should Have ELDs
Here's Why Every Semi-Truck Should Have ELDsHere's Why Every Semi-Truck Should Have ELDs
Here's Why Every Semi-Truck Should Have ELDs
 
快速办理(napier毕业证书)英国龙比亚大学毕业证在读证明一模一样
快速办理(napier毕业证书)英国龙比亚大学毕业证在读证明一模一样快速办理(napier毕业证书)英国龙比亚大学毕业证在读证明一模一样
快速办理(napier毕业证书)英国龙比亚大学毕业证在读证明一模一样
 
一比一原版(Columbia文凭证书)哥伦比亚大学毕业证如何办理
一比一原版(Columbia文凭证书)哥伦比亚大学毕业证如何办理一比一原版(Columbia文凭证书)哥伦比亚大学毕业证如何办理
一比一原版(Columbia文凭证书)哥伦比亚大学毕业证如何办理
 
按照学校原版(UniSA文凭证书)南澳大学毕业证快速办理
按照学校原版(UniSA文凭证书)南澳大学毕业证快速办理按照学校原版(UniSA文凭证书)南澳大学毕业证快速办理
按照学校原版(UniSA文凭证书)南澳大学毕业证快速办理
 
EN Artificial Intelligence by Slidesgo.pptx
EN Artificial Intelligence by Slidesgo.pptxEN Artificial Intelligence by Slidesgo.pptx
EN Artificial Intelligence by Slidesgo.pptx
 
原版制作(Exeter毕业证书)埃克塞特大学毕业证完成信一模一样
原版制作(Exeter毕业证书)埃克塞特大学毕业证完成信一模一样原版制作(Exeter毕业证书)埃克塞特大学毕业证完成信一模一样
原版制作(Exeter毕业证书)埃克塞特大学毕业证完成信一模一样
 
Dahua Security Camera System Guide esetia
Dahua Security Camera System Guide esetiaDahua Security Camera System Guide esetia
Dahua Security Camera System Guide esetia
 
EV Charging at Multifamily Properties by Kevin Donnelly
EV Charging at Multifamily Properties by Kevin DonnellyEV Charging at Multifamily Properties by Kevin Donnelly
EV Charging at Multifamily Properties by Kevin Donnelly
 
AadiShakti Projects ( Asp Cranes ) Raipur
AadiShakti Projects ( Asp Cranes ) RaipurAadiShakti Projects ( Asp Cranes ) Raipur
AadiShakti Projects ( Asp Cranes ) Raipur
 
Catalytic Converter theft prevention - NYC.pptx
Catalytic Converter theft prevention - NYC.pptxCatalytic Converter theft prevention - NYC.pptx
Catalytic Converter theft prevention - NYC.pptx
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理
 
EV Charging at MFH Properties by Whitaker Jamieson
EV Charging at MFH Properties by Whitaker JamiesonEV Charging at MFH Properties by Whitaker Jamieson
EV Charging at MFH Properties by Whitaker Jamieson
 
原版制作(澳洲WSU毕业证书)西悉尼大学毕业证文凭证书一模一样
原版制作(澳洲WSU毕业证书)西悉尼大学毕业证文凭证书一模一样原版制作(澳洲WSU毕业证书)西悉尼大学毕业证文凭证书一模一样
原版制作(澳洲WSU毕业证书)西悉尼大学毕业证文凭证书一模一样
 
Charging Fueling & Infrastructure (CFI) Program Resources by Cat Plein
Charging Fueling & Infrastructure (CFI) Program Resources by Cat PleinCharging Fueling & Infrastructure (CFI) Program Resources by Cat Plein
Charging Fueling & Infrastructure (CFI) Program Resources by Cat Plein
 
53286592-Global-Entrepreneurship-and-the-Successful-Growth-Strategies-of-Earl...
53286592-Global-Entrepreneurship-and-the-Successful-Growth-Strategies-of-Earl...53286592-Global-Entrepreneurship-and-the-Successful-Growth-Strategies-of-Earl...
53286592-Global-Entrepreneurship-and-the-Successful-Growth-Strategies-of-Earl...
 
Charging Fueling & Infrastructure (CFI) Program by Kevin Miller
Charging Fueling & Infrastructure (CFI) Program  by Kevin MillerCharging Fueling & Infrastructure (CFI) Program  by Kevin Miller
Charging Fueling & Infrastructure (CFI) Program by Kevin Miller
 
Expanding Access to Affordable At-Home EV Charging by Vanessa Warheit
Expanding Access to Affordable At-Home EV Charging by Vanessa WarheitExpanding Access to Affordable At-Home EV Charging by Vanessa Warheit
Expanding Access to Affordable At-Home EV Charging by Vanessa Warheit
 
Charging and Fueling Infrastructure Grant: Round 2 by Brandt Hertenstein
Charging and Fueling Infrastructure Grant: Round 2 by Brandt HertensteinCharging and Fueling Infrastructure Grant: Round 2 by Brandt Hertenstein
Charging and Fueling Infrastructure Grant: Round 2 by Brandt Hertenstein
 
一比一原版(WashU文凭证书)圣路易斯华盛顿大学毕业证如何办理
一比一原版(WashU文凭证书)圣路易斯华盛顿大学毕业证如何办理一比一原版(WashU文凭证书)圣路易斯华盛顿大学毕业证如何办理
一比一原版(WashU文凭证书)圣路易斯华盛顿大学毕业证如何办理
 

rotational matrix.pdf

  • 1. Transformation Matrices Dr.-Ing. John Nassour Artificial Intelligence & Neuro Cognitive Systems Fakultät für Informatik 𝑦0 𝑧0 𝑦1 𝑥1 𝑧1 𝒑 𝑧2 𝑦2 𝑥2 𝑧𝑛 𝑦𝑛 𝑥𝑛
  • 2. Suggested literature • Robot Modeling and Control • Robotics: Modelling, Planning and Control 10/17/2017
  • 3. 10/17/2017 Motivation A large part of robot kinematics is concerned with the establishment of various coordinate systems to represent the positions and orientations of rigid objects, and with transformations among these coordinate systems. Indeed, the geometry of three-dimensional space and of rigid motions plays a central role in all aspects of robotic manipulation. A rigid motion is the action of taking an object and moving it to a different location without altering its shape or size
  • 4. 10/17/2017 Transformation The operations of ROTATION and TRANSLATION. Introduce the notion of HOMOGENEOUS TRANSFORMATIONS (combining the operations of rotation and translation into a single matrix multiplication).
  • 5. 10/17/2017 Representing Positions The coordinate vectors that represent the location of the point 𝒑 in space with respect to coordinate frames 𝒐𝟎 𝒙𝟎 𝒚𝟎 and 𝒐𝟏 𝒙𝟏 𝒚𝟏, respectively are:
  • 6. 10/17/2017 Representing Positions Lets assign coordinates that represent the position of the origin of one coordinate system (frame) with respect to another.
  • 7. 10/17/2017 Representing Positions What is the difference between the geometric entity called 𝒑 and any particular coordinate vector 𝒗 that is assigned to represent 𝒑? 𝒑 is independent of the choice of coordinate systems. 𝒗 depends on the choice of coordinate frames.
  • 8. 10/17/2017 Representing Positions A point corresponds to a specific location in space. A vector specifies a direction and a magnitude (e.g. displacements or forces). The point 𝒑 is not equivalent to the vector 𝒗𝟏, the displacement from the origin 𝒐𝟎 to the point 𝒑 is given by the vector 𝒗𝟏. We will use the term vector to refer to what are sometimes called free vectors, i.e., vectors that are not constrained to be located at a particular point in space.
  • 9. 10/17/2017 Representing Positions When assigning coordinates to vectors, we use the same notational convention that we used when assigning coordinates to points. Thus, 𝒗𝟏 and 𝒗𝟐 are geometric entities that are invariant with respect to the choice of coordinate systems, but the representation by coordinates of these vectors depends directly on the choice of reference coordinate frame.
  • 10. 10/17/2017 Coordinate Convention In order to perform algebraic manipulations using coordinates, it is essential that all coordinate vectors be defined with respect to the same coordinate frame. In the case of free vectors, it is enough that they be defined with respect to parallel coordinate frames.
  • 11. 10/17/2017 Coordinate Convention An expression of the form: is not defined since the frames 𝒐𝟎 𝒙𝟎 𝒚𝟎 and 𝒐𝟏 𝒙𝟏 𝒚𝟏 are not parallel.
  • 12. 10/17/2017 Coordinate Convention An expression of the form: is not defined since the frames 𝒐𝟎 𝒙𝟎 𝒚𝟎 and 𝒐𝟏 𝒙𝟏 𝒚𝟏 are not parallel. Thus, we see a clear need, not only for a representation system that allows points to be expressed with respect to various coordinate systems, but also for a mechanism that allows us to transform the coordinates of points that are expressed in one coordinate system into the appropriate coordinates with respect to some other coordinate frame.
  • 13. 10/17/2017 Representing Rotations In order to represent the relative position and orientation of one rigid body with respect to another, we will rigidly attach coordinate frames to each body, and then specify the geometric relationships between these coordinate frames.
  • 14. 10/17/2017 Representing Rotations In order to represent the relative position and orientation of one rigid body with respect to another, we will rigidly attach coordinate frames to each body, and then specify the geometric relationships between these coordinate frames.
  • 15. 10/17/2017 Representing Rotations In order to represent the relative position and orientation of one rigid body with respect to another, we will rigidly attach coordinate frames to each body, and then specify the geometric relationships between these coordinate frames. How to describe the orientation of one coordinate frame relative to another frame?
  • 17. 10/17/2017 Rotation In The Plane Fram 𝒐𝟏 𝒙𝟏 𝒚𝟏 is obtained by rotating frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 by an angle 𝜽. The coordinate vectors for the axes of frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 with respect to coordinate frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 are described by a rotation matrix: where𝒙𝟏 𝟎 and 𝒚𝟏 𝟎 are the coordinates in frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 of unit vectors 𝒙 𝟏 and 𝒚 𝟏 , respectively.
  • 18. 10/17/2017 Rotation In The Plane 𝑹𝟏 𝟎 is a matrix whose column vectors are the coordinates of the (unit vectors along the) axes of frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 expressed relative to frame 𝒐𝟎 𝒙𝟎 𝒚𝟎.
  • 19. 10/17/2017 Rotation In The Plane 𝑹𝟏 𝟎 describes the orientation of frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 with respect to the frame 𝒐𝟎 𝒙𝟎 𝒚𝟎. The dot product of two unit vectors gives the projection of one onto the other 𝑹𝟎 𝟏 =?
  • 20. 10/17/2017 Rotation In The Plane The dot product of two unit vectors gives the projection of one onto the other The orientation of frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 with respect to the frame 𝒐𝟏 𝒙𝟏 𝒚𝟏. Since the inner product is commutative
  • 21. 10/17/2017 Rotations In Three Dimensions Each axis of the frame 𝒐𝟏𝒙𝟏𝒚𝟏𝒛𝟏 is projected onto coordinate frame 𝒐𝟎𝒙𝟎𝒚𝟎𝒛𝟎. The resulting rotation matrix is given by:
  • 23. 10/17/2017 Rotation About 𝒛𝟎 By An Angle 𝜽 Called a basic rotation matrix (about the z-axis) 𝑹𝒛,𝜽
  • 25. 10/17/2017 Basic Rotation Matrix About The X-axis 𝑹𝒙,𝜽
  • 26. 10/17/2017 Basic Rotation Matrix About The Y-axis 𝑹𝒚,𝜽
  • 27. 10/17/2017 Example Find the description of frame 𝒐𝟏𝒙𝟏𝒚𝟏𝒛𝟏 with respect to the frame 𝒐𝟎𝒙𝟎𝒚𝟎𝒛𝟎.
  • 28. 10/17/2017 Example The coordinates of 𝒙𝟏are The coordinates of 𝒚𝟏are The coordinates of 𝒛𝟏 are Find the description of frame 𝒐𝟏𝒙𝟏𝒚𝟏𝒛𝟏 with respect to the frame 𝒐𝟎𝒙𝟎𝒚𝟎𝒛𝟎.
  • 29. 10/17/2017 Example Find the description of frame 𝒐𝟏𝒙𝟏𝒚𝟏𝒛𝟏 with respect to the frame 𝒐𝟎𝒙𝟎𝒚𝟎𝒛𝟎. The coordinates of 𝒙𝟏are The coordinates of 𝒚𝟏are The coordinates of 𝒛𝟏 are
  • 30. 10/17/2017 Rotational Transformations 𝑺 is a rigid object to which a coordinate 𝒇𝒓𝒂𝒎𝒆 𝟏 is attached. Given 𝒑𝟏 of the point 𝒑, determine the coordinates of 𝒑 relative to a fixed reference 𝒇𝒓𝒂𝒎𝒆 𝟎. The projection of the point 𝒑 onto the coordinate axes of the 𝒇𝒓𝒂𝒎𝒆 𝟎:
  • 32. 10/17/2017 Rotational Transformations Thus, the rotation matrix 𝑹𝟏 𝟎 can be used not only to represent the orientation of coordinate frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 with respect to frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 , but also to transform the coordinates of a point from one frame to another. If a given point is expressed relative to 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 by coordinates 𝒑𝟏 , then 𝑹𝟏 𝟎 𝒑𝟏 represents the same point expressed relative to the frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎.
  • 33. 10/17/2017 Rotational Transformations It is possible to derive the coordinates for 𝒑𝒃 given only the coordinates for 𝒑𝒂 and the rotation matrix that corresponds to the rotation about 𝒛𝟎. Suppose that a coordinate frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 is rigidly attached to the block. After the rotation by 𝝅, the block’s coordinate frame, which is rigidly attached to the block, is also rotated by 𝝅. Rotation matrices to represent rigid motions
  • 34. 10/17/2017 Rotational Transformations The coordinates of 𝒑𝒃 with respect to the reference frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 : Rotation matrices to represent rigid motions
  • 35. 10/17/2017 Rotational Transformations Rotation matrices to represent vector rotation with respect to a coordinate frame. Reminder:
  • 36. 10/17/2017 Summary: Rotation Matrix 1.It represents a coordinate transformation relating the coordinates of a point p in two different frames. 2. It gives the orientation of a transformed coordinate frame with respect to a fixed coordinate frame. 3. It is an operator taking a vector and rotating it to a new vector in the same coordinate system.
  • 37. 10/17/2017 Similarity Transformations The matrix representation of a general linear transformation is transformed from one frame to another using a so-called similarity transformation. For example, if 𝑨 is the matrix representation of a given linear transformation in 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 and 𝑩 is the representation of the same linear transformation in 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 then 𝑨 and 𝑩 are related as: where 𝑹𝟏 𝟎 is the coordinate transformation between frames 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 and 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 . In particular, if 𝑨 itself is a rotation, then so is 𝑩, and thus the use of similarity transformations allows us to express the same rotation easily with respect to different frames.
  • 38. 10/17/2017 Example Suppose frames 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 and 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 are related by the rotation If 𝑨 = 𝑹𝒛 relative to the frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎, then, relative to frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 we have 𝑩 is a rotation about the 𝒛𝟎 − 𝒂𝒙𝒊𝒔 but expressed relative to the frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 .
  • 39. 10/17/2017 Rotation With Respect To The Current Frame The matrix 𝑹𝟏 𝟎 represents a rotational transformation between the frames 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 and 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏. Suppose we now add a third coordinate frame 𝒐𝟐 𝒙𝟐 𝒚𝟐 𝒛𝟐 related to the frames 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 and 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 by rotational transformations. A given point 𝒑 can then be represented by coordinates specified with respect to any of these three frames: 𝒑𝟎 , 𝒑𝟏 and 𝒑𝟐 . The relationship among these representations of 𝒑 is: where each𝑹𝒋 𝒊 is a rotation matrix
  • 40. 10/17/2017 In order to transform the coordinates of a point 𝒑 from its representation 𝒑𝟐 in the frame 𝒐𝟐 𝒙𝟐 𝒚𝟐 𝒛𝟐 to its representation 𝒑𝟎 in the frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 , we may first transform to its coordinates 𝒑𝟏 in the frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 using 𝑹𝟐 𝟏 and then transform 𝒑𝟏 to 𝒑𝟎 using 𝑹𝟏 𝟎 . Composition Law for Rotational Transformations
  • 41. 10/17/2017 Composition Law for Rotational Transformations Coincident: lie exactly on top of each other Suppose initially that all three of the coordinate frames are coincide. We first rotate the frame 𝒐𝟐 𝒙𝟐 𝒚𝟐 𝒛𝟐 relative to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 according to the transformation 𝑹𝟏 𝟎 . Then, with the frames 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 and 𝒐𝟐 𝒙𝟐 𝒚𝟐 𝒛𝟐 coincident, we rotate 𝒐𝟐 𝒙𝟐 𝒚𝟐 𝒛𝟐 relative to 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 according to the transformation 𝑹𝟐 𝟏 . In each case we call the frame relative to which the rotation occurs the current frame.
  • 42. 10/17/2017 Example Suppose a rotation matrix R represents • a rotation of angle 𝝓 about the current 𝒚 − 𝒂𝒙𝒊𝒔 followed by • a rotation of angle 𝜭 about the current 𝒛 − 𝒂𝒙𝒊𝒔.
  • 43. 10/17/2017 Example Suppose a rotation matrix R represents • a rotation of angle 𝝓 about the current 𝒚 − 𝒂𝒙𝒊𝒔 followed by • a rotation of angle 𝜭 about the current 𝒛 − 𝒂𝒙𝒊𝒔.
  • 44. 10/17/2017 Example Suppose a rotation matrix R represents • a rotation of angle 𝝓 about the current 𝒚 − 𝒂𝒙𝒊𝒔 followed by • a rotation of angle 𝜭 about the current 𝒛 − 𝒂𝒙𝒊𝒔.
  • 45. 10/17/2017 Example Suppose a rotation matrix R represents • a rotation of angle 𝝓 about the current 𝒚 − 𝒂𝒙𝒊𝒔 followed by • a rotation of angle 𝜭 about the current 𝒛 − 𝒂𝒙𝒊𝒔.
  • 46. 10/17/2017 Example Suppose a rotation matrix R represents • a rotation of angle 𝜭 about the current 𝒛 − 𝒂𝒙𝒊𝒔 followed by • a rotation of angle 𝝓 about the current 𝒚 − 𝒂𝒙𝒊𝒔
  • 47. 10/17/2017 Example Suppose a rotation matrix R represents • a rotation of angle 𝜭 about the current 𝒛 − 𝒂𝒙𝒊𝒔 followed by • a rotation of angle 𝝓 about the current 𝒚 − 𝒂𝒙𝒊𝒔
  • 48. 10/17/2017 Example Suppose a rotation matrix R represents • a rotation of angle 𝜭 about the current 𝒛 − 𝒂𝒙𝒊𝒔 followed by • a rotation of angle 𝝓 about the current 𝒚 − 𝒂𝒙𝒊𝒔 Rotational transformations do not commute
  • 49. 10/17/2017 Rotation With Respect To The Fixed Frame Performing a sequence of rotations, each about a given fixed coordinate frame, rather than about successive current frames. For example we may wish to perform a rotation about 𝒙𝟎 followed by a rotation about 𝒚𝟎 (and not 𝒚𝟏!). We will refer to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 as the fixed frame. In this case the composition law given before is not valid. The composition law that was obtained by multiplying the successive rotation matrices in the reverse order from that given by is not valid.
  • 50. 10/17/2017 Rotation with Respect to the Fixed Frame Suppose we have two frames 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 and 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 related by the rotational transformation 𝑹𝟏 𝟎 . If 𝑹 represents a rotation relative to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎, the representation for 𝑹 in the current frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 is given by: Similarity Transformations With applying the composition law for rotations about the current axis: composition law for rotations about the current axis Reminder:
  • 51. 10/17/2017 Example Suppose a rotation matrix R represents • a rotation of angle 𝝓 about 𝒚𝟎 − 𝒂𝒙𝒊𝒔 followed by • a rotation of angle𝜭about the fixed 𝒛𝟎−𝒂𝒙𝒊𝒔 Similarity Transformations Reminder: composition law for rotations about the current axis composition law for rotations about the fixed axis The second rotation about the fixed axis is given by which is the basic rotation about the z-axis expressed relative to the frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 using a similarity transformation.
  • 52. 10/17/2017 Example Suppose a rotation matrix R represents • a rotation of angle 𝝓 about 𝒚𝟎 − 𝒂𝒙𝒊𝒔 followed by • a rotation of angle𝜭about the fixed 𝒛𝟎−𝒂𝒙𝒊𝒔 Similarity Transformations Reminder: composition law for rotations about the current axis composition law for rotations about the fixed axis Therefore, the composition rule for rotational transformations
  • 53. 10/17/2017 Example Suppose a rotation matrix R represents • a rotation of angle 𝝓 about 𝒚𝟎 − 𝒂𝒙𝒊𝒔 followed by • a rotation of angle𝜭about the fixed 𝒛𝟎−𝒂𝒙𝒊𝒔
  • 54. 10/17/2017 Example Suppose a rotation matrix R represents • a rotation of angle 𝝓 about 𝒚𝟎 − 𝒂𝒙𝒊𝒔 followed by • a rotation of angle𝜭about the fixed 𝒛𝟎−𝒂𝒙𝒊𝒔 Suppose a rotation matrix R represents • a rotation of angle 𝝓 about the current 𝒚 − 𝒂𝒙𝒊𝒔 followed by • a rotation of angle 𝜭 about the current 𝒛 − 𝒂𝒙𝒊𝒔.
  • 55. 10/17/2017 Summary To note that we obtain the same basic rotation matrices, but in the reverse order. Rotation with Respect to the Fixed Frame Rotation with Respect to the Current Frame
  • 56. 10/17/2017 Rules for Composition of Rotational Transformations We can summarize the rule of composition of rotational transformations by: Given a fixed frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 a current frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏, together with rotation matrix 𝑹𝟏 𝟎 relating them, if a third frame 𝒐𝟐 𝒙𝟐 𝒚𝟐 𝒛𝟐 is obtained by a rotation 𝑹 performed relative to the current frame then post-multiply 𝑹𝟏 𝟎 by 𝑹 = 𝑹𝟐 𝟏 to obtain In each case 𝑹𝟐 𝟎 represents the transformation between the frames 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 and 𝒐𝟐 𝒙𝟐 𝒚𝟐 𝒛𝟐. If the second rotation is to be performed relative to the fixed frame then it is both confusing and inappropriate to use the notation 𝑹𝟐 𝟏 to represent this rotation. Therefore, if we represent the rotation by 𝑹, we pre-multiply 𝑹𝟏 𝟎 by 𝑹 to obtain
  • 57. 10/17/2017 Example Find R for the following sequence of basic rotations: 1. A rotation of ϴ about the current x-axis 2. A rotation of φ about the current z-axis 3. A rotation of α about the fixed z-axis 4. A rotation of β about the current y-axis 5. A rotation of δ about the fixed x-axis Rotation with Respect to the Fixed Frame Rotation with Respect to the Current Frame Reminder:
  • 58. 10/17/2017 Example Find R for the following sequence of basic rotations: 1. A rotation of ϴ about the current x-axis 2. A rotation of φ about the current z-axis 3. A rotation of α about the fixed z-axis 4. A rotation of β about the current y-axis 5. A rotation of δ about the fixed x-axis Rotation with Respect to the Fixed Frame Rotation with Respect to the Current Frame Reminder:
  • 59. 10/17/2017 Example Find R for the following sequence of basic rotations: 1. A rotation of ϴ about the current x-axis 2. A rotation of φ about the current z-axis 3. A rotation of α about the fixed z-axis 4. A rotation of β about the current y-axis 5. A rotation of δ about the fixed x-axis Rotation with Respect to the Fixed Frame Rotation with Respect to the Current Frame Reminder:
  • 60. 10/17/2017 Example Find R for the following sequence of basic rotations: 1. A rotation of ϴ about the current x-axis 2. A rotation of φ about the current z-axis 3. A rotation of α about the fixed z-axis 4. A rotation of β about the current y-axis 5. A rotation of δ about the fixed x-axis Rotation with Respect to the Fixed Frame Rotation with Respect to the Current Frame Reminder:
  • 61. 10/17/2017 Example Find R for the following sequence of basic rotations: 1. A rotation of ϴ about the current x-axis 2. A rotation of φ about the current z-axis 3. A rotation of α about the fixed z-axis 4. A rotation of β about the current y-axis 5. A rotation of δ about the fixed x-axis Rotation with Respect to the Fixed Frame Rotation with Respect to the Current Frame Reminder:
  • 62. 10/17/2017 Example Find R for the following sequence of basic rotations: 1. A rotation of ϴ about the current x-axis 2. A rotation of φ about the current z-axis 3. A rotation of α about the fixed z-axis 4. A rotation of β about the current y-axis 5. A rotation of δ about the fixed x-axis Rotation with Respect to the Fixed Frame Rotation with Respect to the Current Frame Reminder:
  • 63. 10/17/2017 Example Find R for the following sequence of basic rotations: 1. A rotation of δ about the fixed x-axis 2. A rotation of β about the current y-axis 3. A rotation of α about the fixed z-axis 4. A rotation of φ about the current z-axis 5. A rotation of ϴ about the current x-axis Rotation with Respect to the Fixed Frame Rotation with Respect to the Current Frame Reminder:
  • 64. 10/17/2017 Rotations in Three Dimensions Each axis of the frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 is projected onto the coordinate frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎. The resulting rotation matrix is given by Reminder: The nine elements 𝒓𝒊𝒋 in a general rotational transformation R are not independent quantities. 𝑹𝝐 𝑺𝑶 𝟑 Where 𝑺𝑶(n) denotes the Special Orthogonal group of order n.
  • 65. 10/17/2017 Rotations In Three Dimensions For any 𝑅𝜖 𝑆𝑂 𝑛 The following properties hold • 𝑅𝑇 = 𝑅−1 𝜖 𝑆𝑂 𝑛 • The columns and the rows of 𝑅 are mutually orthogonal • Each column and each row of 𝑅 is a unit vector • det 𝑅 = 1 (the determinant) Where 𝑆𝑂(n) denotes the Special Orthogonal group of order n. Example for 𝑹𝑻 = 𝑹−𝟏 𝝐 𝑺𝑶 𝟐 :
  • 66. 10/17/2017 Parameterizations Of Rotations As each column of 𝑅 is a unit vector, then we can write: As the columns of 𝑅 are mutually orthogonal, then we can write: Together, these constraints define six independent equations with nine unknowns, which implies that there are three free variables. The nine elements 𝒓𝒊𝒋 in a general rotational transformation R are not independent quantities. 𝑅𝜖 𝑆𝑂 3 Where 𝑆𝑂(n) denotes the Special Orthogonal group of order n.
  • 67. 10/17/2017 We present three ways in which an arbitrary rotation can be represented using only three independent quantities: • Euler Angles representation • Roll-Pitch-Yaw representation • Axis/Angle representation Parameterizations of Rotations
  • 68. 10/17/2017 Euler Angles Representation We can specify the orientation of the frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 relative to the frame𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 by three angles (𝝓, 𝜽, 𝝍), known as Euler Angles, and obtained by three successive rotations as follows: 1. rotation about the z-axis by the angle 𝝓 2. rotation about the current y−axis by the angle 𝜽 3. rotation about the current z−axis by the angle 𝝍
  • 72. Trigonometry (Atan vs. Atan2) Reminder: 10/17/2017
  • 73. 10/17/2017 Trigonometry (Atan vs. Atan2) Reminder: tan(angle) = opposite/adjacent atan(opposite/adjacent) = angle
  • 74. 10/17/2017 Euler Angles Representation Given a matrix 𝑅𝜖 𝑆𝑂 3 Determine a set of Euler angles 𝝓, 𝜽, and 𝝍 so that 𝑹 = 𝑹𝒁𝒀𝒁 If 𝒓𝟏𝟑 ≠ 𝟎 and 𝒓𝟐𝟑 ≠ 𝟎, it follow that: 𝝓=Atan2(𝒓𝟐𝟑, 𝒓𝟏𝟑) where the function 𝐴𝑡𝑎𝑛2(𝑦, 𝑥) computes the arctangent of the ration 𝑦/𝑥. Then squaring the summing of the elements (1,3) and (2,3) and using the element (3,3) yields: 𝜽=Atan2(+ 𝒓𝟏𝟑 𝟐 + 𝒓𝟐𝟑 𝟐, 𝒓𝟑𝟑) or 𝜽=Atan2(− 𝒓𝟏𝟑 𝟐 + 𝒓𝟐𝟑 𝟐, 𝒓𝟑𝟑) If we consider the first choice then 𝒔𝒊𝒏(𝜽) > 𝟎 then: 𝝍=Atan2(𝒓𝟑𝟐, −𝒓𝟑𝟏) If we consider the second choice then 𝒔𝒊 𝒏 𝜽 < 𝟎 then: 𝝍=Atan2(− 𝒓𝟑𝟐, 𝒓𝟑𝟏) and 𝝓=Atan2(−𝒓𝟐𝟑,−𝒓𝟏𝟑)
  • 75. 10/17/2017 Euler Angles Representation Given a matrix 𝑅𝜖 𝑆𝑂 3 Determine a set of Euler angles 𝝓, 𝜽, and 𝝍 so that 𝑹 = 𝑹𝒁𝒀𝒁 If 𝒓𝟏𝟑 = 𝒓𝟐𝟑 = 𝟎, then the fact that R is orthogonal implies that 𝒓𝟑𝟑 = ±𝟏 and that 𝒓𝟑𝟏 = 𝒓𝟑𝟐 = 𝟎 thus R has the form: If 𝒓𝟑𝟑 = +𝟏 then 𝑐𝜃 = 1 and 𝑠𝜃 = 0, so that𝜃 = 0. Thus, the sum 𝝓 + 𝝍 can be determined as 𝝓 + 𝝍 = Atan2(𝒓𝟐𝟏, 𝒓𝟏𝟏) = Atan2(− 𝒓𝟏𝟐, 𝒓𝟐𝟐) There is infinity of solutions.
  • 76. 10/17/2017 Euler Angles Representation Given a matrix 𝑅𝜖 𝑆𝑂 3 Determine a set of Euler angles 𝝓, 𝜽, and 𝝍 so that 𝑹 = 𝑹𝒁𝒀𝒁 If 𝒓𝟏𝟑 = 𝒓𝟐𝟑 = 𝟎, then the fact that R is orthogonal implies that 𝒓𝟑𝟑 = ±𝟏 and that 𝒓𝟑𝟏 = 𝒓𝟑𝟐 = 𝟎 thus R has the form: If 𝒓𝟑𝟑 = −𝟏 then 𝑐𝜃 = −1 and 𝑠𝜃 = 0, so that 𝜃 = π. Thus, the 𝝓 − 𝝍 can be determined as 𝝓 − 𝝍 = Atan2(−𝒓𝟏𝟐, −𝒓𝟏𝟏) = Atan2( 𝒓𝟐𝟏, 𝒓𝟐𝟐) As before there is infinity of solutions.
  • 77. 10/17/2017 Yaw-Pitch-Roll Representation A rotation matrix 𝑹 can also be described as a product of successive rotations about the principal coordinate axes 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 taken in a specific order. These rotations define the roll, pitch, and yaw angles, which we shall also denote (𝝓, 𝜽, 𝝍) We specify the order in three successive rotations as follows: 1. Yaw rotation about 𝒙𝟎 −axis by the angle 𝝍 2. Pitch rotation about 𝒚𝟎 − axis by the angle 𝜽 3. Roll rotation about 𝒛𝟎 − axis by the angle 𝝓 Since the successive rotations are relative to the fixed frame, the resulting transformation matrix is given by:
  • 78. 10/17/2017 Yaw-Pitch-Roll Representation A rotation matrix 𝑹 can also be described as a product of successive rotations about the principal coordinate axes 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 taken in a specific order. These rotations define the roll, pitch, and yaw angles, which we shall also denote (𝝓, 𝜽, 𝝍) We specify the order in three successive rotations as follows: 1. Yaw rotation about 𝒙𝟎 −axis by the angle 𝝍 2. Pitch rotation about 𝒚𝟎 − axis by the angle 𝜽 3. Roll rotation about 𝒛𝟎 − axis by the angle 𝝓 Since the successive rotations are relative to the fixed frame, the resulting transformation matrix is given by:
  • 79. 10/17/2017 Yaw-Pitch-Roll Representation A rotation matrix 𝑹 can also be described as a product of successive rotations about the principal coordinate axes 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 taken in a specific order. These rotations define the roll, pitch, and yaw angles, which we shall also denote (𝝓, 𝜽, 𝝍) We specify the order in three successive rotations as follows: 1. Yaw rotation about 𝒙𝟎 −axis by the angle 𝝍 2. Pitch rotation about 𝒚𝟎 − axis by the angle 𝜽 3. Roll rotation about 𝒛𝟎 − axis by the angle 𝝓 Since the successive rotations are relative to the fixed frame, the resulting transformation matrix is given by:
  • 80. 10/17/2017 Yaw-Pitch-Roll Representation A rotation matrix 𝑹 can also be described as a product of successive rotations about the principal coordinate axes 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 taken in a specific order. These rotations define the roll, pitch, and yaw angles, which we shall also denote (𝝓, 𝜽, 𝝍) We specify the order in three successive rotations as follows: 1. Yaw rotation about 𝒙𝟎 −axis by the angle 𝝍 2. Pitch rotation about 𝒚𝟎 − axis by the angle 𝜽 3. Roll rotation about 𝒛𝟎 − axis by the angle 𝝓 Since the successive rotations are relative to the fixed frame, the resulting transformation matrix is given by:
  • 81. 10/17/2017 Yaw-Pitch-Roll Representation A rotation matrix 𝑹 can also be described as a product of successive rotations about the principal coordinate axes 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 taken in a specific order. These rotations define the roll, pitch, and yaw angles, which we shall also denote (𝝓, 𝜽, 𝝍) We specify the order in three successive rotations as follows: 1. Yaw rotation about 𝒙𝟎 −axis by the angle 𝝍 2. Pitch rotation about 𝒚𝟎 − axis by the angle 𝜽 3. Roll rotation about 𝒛𝟎 − axis by the angle 𝝓 Since the successive rotations are relative to the fixed frame, the resulting transformation matrix is given by:
  • 82. 10/17/2017 Yaw-Pitch-Roll Representation A rotation matrix 𝑹 can also be described as a product of successive rotations about the principal coordinate axes 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 taken in a specific order. These rotations define the roll, pitch, and yaw angles, which we shall also denote (𝝓, 𝜽, 𝝍) We specify the order in three successive rotations as follows: 1. Yaw rotation about 𝒙𝟎 −axis by the angle 𝝍 2. Pitch rotation about 𝒚𝟎 − axis by the angle 𝜽 3. Roll rotation about 𝒛𝟎 − axis by the angle 𝝓 Since the successive rotations are relative to the fixed frame, the resulting transformation matrix is given by: Instead of yaw-pitch-roll relative to the fixed frames we could also interpret the above transformation as roll-pitch-yaw, in that order, each taken with respect to the current frame. The end result is the same matrix. 𝝍 𝜽 𝝓
  • 83. 10/17/2017 Yaw-Pitch-Roll Representation Find the inverse solution to a given rotation matrix R. Determine a set of Roll-Pitch-Yaw angles 𝝓, 𝜽, and 𝝍 so that 𝑹 = 𝑹𝑿𝒀𝒁 𝝍 𝜽 𝝓
  • 84. 10/17/2017 Axis/Angle Representation Rotations are not always performed about the principal coordinate axes. We are often interested in a rotation about an arbitrary axis in space. This provides both a convenient way to describe rotations, and an alternative parameterization for rotation matrices. Let 𝒌 = [𝒌𝒙, 𝒌𝒚, 𝒌𝒛]𝑻 , expressed in the frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎, be a unit vector defining an axis. We wish to derive the rotation matrix 𝑹𝒌,𝜽 representing a rotation of 𝜽 about this axis. A possible solution is to rotate first 𝒌 by the angles necessary to align it with 𝒛, then to rotate by 𝜽 about 𝒛, and finally to rotate by the angels necessary to align the unit vector with the initial direction.
  • 85. 10/17/2017 Axis/Angle Representation Rotations are not always performed about the principal coordinate axes. We are often interested in a rotation about an arbitrary axis in space. This provides both a convenient way to describe rotations, and an alternative parameterization for rotation matrices. Let 𝒌 = [𝒌𝒙, 𝒌𝒚, 𝒌𝒛]𝑻 , expressed in the frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎, be a unit vector defining an axis. We wish to derive the rotation matrix 𝑹𝒌,𝜽representing a rotation of 𝜽 about this axis. The sequence of rotations to be made with respect to axes of fixed frame is the following: • Align 𝒌 with 𝒛 (which is obtained as the sequence of a rotation by −𝜶 about 𝒛 and a rotation of −𝜷 about 𝒚). • Rotate by 𝜽 about 𝒛. • Realign with the initial direction of 𝒌, which is obtained as the sequence of a rotation by 𝜷 about 𝒚 and a rotation by 𝜶 about 𝒛. 𝑹𝒌,𝜽 = 𝑹𝒛,𝜶 𝑹𝒚,𝜷𝑹𝒛,𝜽𝑹𝒚,−𝜷𝑹𝒛,−𝜶
  • 86. 10/17/2017 Axis/Angle Representation 𝑹𝒌,𝜽 = 𝑹𝒛,𝜶 𝑹𝒚,𝜷𝑹𝒛,𝜽𝑹𝒚,−𝜷𝑹𝒛,−𝜶
  • 87. 10/17/2017 Axis/Angle Representation Rotations are not always performed about the principal coordinate axes. We are often interested in a rotation about an arbitrary axis in space. This provides both a convenient way to describe rotations, and an alternative parameterization for rotation matrices. 𝑹𝒌,𝜽 = 𝑹𝒛,𝜶 𝑹𝒚,𝜷𝑹𝒛,𝜽𝑹𝒚,−𝜷𝑹𝒛,−𝜶
  • 88. 10/17/2017 Axis/Angle Representation Any rotation matrix 𝑅𝜖 𝑆𝑂 3 can be represented by a single rotation about a suitable axis in space by a suitable angle. 𝑹 = 𝑹𝒌,𝜽 where 𝒌 is a unit vector defining the axis of rotation, and 𝜽 is the angle of rotation about 𝒌. The matrix 𝑹𝒌,𝜽 is called the axis/angle representation of 𝑹. Given 𝑹 find 𝜽 and 𝒌: Reminder:
  • 89. 10/17/2017 Axis/Angle Representation The axis/angle representation is not unique since a rotation of −𝜽 about −𝒌 is the same as a rotation of 𝜽 about 𝒌. 𝑹𝒌,𝜽 = 𝑹−𝒌,−𝜽 If 𝜽 = 𝟎 then 𝑹 is the identity matrix and the axis of rotation is undefined.
  • 90. 10/17/2017 Example Suppose 𝑹 is generated by a rotation of 90°about 𝑧0 followed by a rotation of 30° about 𝑦0 followed by a rotation of 60° about 𝑥0. Find the axis/angle representation of 𝑹 Reminder: The axis/angle representation of 𝑹
  • 91. 10/17/2017 Example Suppose 𝑹 is generated by a rotation of 90°about 𝑧0 followed by a rotation of 30° about 𝑦0 followed by a rotation of 60° about 𝑦0. Find the axis/angle representation of 𝑹 Reminder: The axis/angle representation of 𝑹
  • 92. 10/17/2017 Example Suppose 𝑹 is generated by a rotation of 90°about 𝑧0 followed by a rotation of 30° about 𝑦0 followed by a rotation of 60° about 𝑦0. Find the axis/angle representation of 𝑹 Reminder: The axis/angle representation of 𝑹
  • 93. 10/17/2017 Example Suppose 𝑹 is generated by a rotation of 90°about 𝑧0 followed by a rotation of 30° about 𝑦0 followed by a rotation of 60° about 𝑦0. Find the axis/angle representation of 𝑹 Reminder: The axis/angle representation of 𝑹
  • 94. 10/17/2017 Example Suppose 𝑹 is generated by a rotation of 90°about 𝑧0 followed by a rotation of 30° about 𝑦0 followed by a rotation of 60° about 𝑥0. Find the axis/angle representation of 𝑹 Reminder: The axis/angle representation of 𝑹
  • 95. 10/17/2017 Axis/Angle Representation The above axis/angle representation characterizes a given rotation by four quantities, namely the three components of the equivalent axis 𝒌 and the equivalent angle 𝜽. However, since the equivalent axis 𝒌 is given as a unit vector only two of its components are independent. The third is constrained by the condition that 𝒌 is of unit length. Therefore, only three independent quantities are required in this representation of a rotation 𝑹. We can represent the equivalent axis/angle by a single vector 𝒓 as: since 𝒌 is a unit vector, the length of the vector 𝒓 is the equivalent angle 𝜽 and the direction of 𝒓 is the equivalent axis 𝒌.
  • 96. 10/17/2017 Rigid Motions A rigid motion is a pure translation together with a pure rotation. A rigid motion is an ordered pair (𝒅, 𝑹) where 𝒅 ∈ ℝ𝟑 and 𝑹 ∈ 𝑺𝑶 𝟑 . The group of all rigid motions is known as the Special Euclidean Group and is denoted by 𝑺𝑬 𝟑 . We see then that 𝑺𝑬 𝟑 = ℝ𝟑 × 𝑺𝑶 𝟑 .
  • 97. 10/17/2017 One Rigid Motion If frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 is obtained from frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 by first applying a rotation specified by 𝑹𝟏 𝟎 𝑥0 𝑦0 𝑧0 𝑥0 𝑦0 𝑧0 𝑦1 𝑥1 𝑧1
  • 98. 10/17/2017 One Rigid Motion If frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 is obtained from frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 by first applying a rotation specified by 𝑹𝟏 𝟎 followed by a translation given (with respect to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎) by 𝒅𝟏 𝟎 𝑥0 𝑦0 𝑧0 𝑹𝟏 𝟎 𝑥0 𝑦0 𝑧0 𝑦1 𝑥1 𝑧1
  • 99. 10/17/2017 One Rigid Motion If frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 is obtained from frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 by first applying a rotation specified by 𝑹𝟏 𝟎 followed by a translation given (with respect to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎) by 𝒅𝟏 𝟎 𝑥0 𝑦0 𝑧0 𝑦1 𝑥1 𝑧1 𝒅𝟏 𝟎 𝑹𝟏 𝟎 𝒑 𝑥0 𝑦0 𝑧0 𝑦1 𝑥1 𝑧1
  • 100. 10/17/2017 One Rigid Motion If frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 is obtained from frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 by first applying a rotation specified by 𝑹𝟏 𝟎 followed by a translation given (with respect to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎) by 𝒅𝟏 𝟎 , then the coordinates 𝒑𝟎 are given by: 𝑥0 𝑦0 𝑧0 𝑦1 𝑥1 𝑧1 𝒅𝟏 𝟎 𝑹𝟏 𝟎 𝒑 𝑥0 𝑦0 𝑧0 𝑦1 𝑥1 𝑧1 𝒑𝟎 𝒑𝟏
  • 101. 10/17/2017 One Rigid Motion If frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 is obtained from frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 by first applying a rotation specified by 𝑹𝟏 𝟎 followed by a translation given (with respect to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎) by 𝒅𝟏 𝟎 , then the coordinates 𝒑𝟎 are given by: 𝒑𝟎 = 𝑹𝟏 𝟎 𝒑𝟏 + 𝒅𝟏 𝟎 𝑥0 𝑦0 𝑧0 𝑦1 𝑥1 𝑧1 𝒅𝟏 𝟎 𝑹𝟏 𝟎 𝒑 𝑥0 𝑦0 𝑧0 𝑦1 𝑥1 𝑧1 𝒑𝟎 𝒑𝟏
  • 102. 10/17/2017 One Rigid Motion If frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 is obtained from frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 by first applying a rotation specified by 𝑹𝟏 𝟎 followed by a translation given (with respect to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎) by 𝒅𝟏 𝟎 , then the coordinates 𝒑𝟎 are given by: 𝒑𝟎 = 𝑹𝟏 𝟎 𝒑𝟏 + 𝒅𝟏 𝟎 𝑥0 𝑦0 𝑧0 𝑦1 𝑥1 𝑧1 𝒅𝟏 𝟎 𝑹𝟏 𝟎 𝒑 𝑥0 𝑦0 𝑧0 𝑦1 𝑥1 𝑧1 𝒑𝟎 𝒑𝟏
  • 103. 10/17/2017 Two Rigid Motions If frame 𝒐𝟐 𝒙𝟐 𝒚𝟐 𝒛𝟐 is obtained from frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 by first applying a rotation specified by 𝑹𝟐 𝟏 followed by a translation given (with respect to 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏) by 𝒅𝟐 𝟏 . If frame 𝒐𝟏 𝒙𝟏 𝒚𝟏 𝒛𝟏 is obtained from frame 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 by first applying a rotation specified by 𝑹𝟏 𝟎 followed by a translation given (with respect to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎) by 𝒅𝟏 𝟎 , find the coordinates 𝒑𝟎. 𝑥0 𝑦0 𝑧0 𝑦1 𝑥1 𝑧1 𝒑 𝑧2 𝑦2 𝑥2 For the first rigid motion: 𝒑𝟎 = 𝑹𝟏 𝟎 𝒑𝟏 + 𝒅𝟏 𝟎 For the second rigid motion: 𝒑𝟏 = 𝑹𝟐 𝟏 𝒑𝟐 + 𝒅𝟐 𝟏 Both rigid motions can be described as one rigid motion: 𝒑𝟎 = 𝑹𝟐 𝟎 𝒑𝟐 + 𝒅𝟐 𝟎 𝒑𝟎 = 𝑹𝟏 𝟎 𝑹𝟐 𝟏 𝒑𝟐 + 𝑹𝟏 𝟎 𝒅𝟐 𝟏 + 𝒅𝟏 𝟎
  • 104. 10/17/2017 Two Rigid Motions 𝑥0 𝑦0 𝑧0 𝑦1 𝑥1 𝑧1 𝒑 𝑧2 𝑦2 𝑥2 𝑹𝟐 𝟎 The orientation transformations can simply be multiplied together. 𝒅𝟐 𝟎 The translation transformation is the sum of: • 𝒅𝟏 𝟎 the vector from the origin 𝑜0 to the origin 𝑜1 expressed with respect to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎. • 𝑹𝟏 𝟎 𝒅𝟐 𝟏 the vector from 𝑜1 to 𝑜2 expressed in the orientation of the coordinate system 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎. 𝒑𝟎 = 𝑹𝟏 𝟎 𝑹𝟐 𝟏 𝒑𝟐 + 𝑹𝟏 𝟎 𝒅𝟐 𝟏 + 𝒅𝟏 𝟎
  • 106. 10/17/2017 Homogeneous Transformations 𝑥0 𝑦0 𝑧0 𝑦1 𝑥1 𝑧1 𝒑 𝑧2 𝑦2 𝑥2 𝒑𝟎 = ? 𝑧𝑛 𝑦𝑛 𝑥𝑛 A long sequence of rigid motions, find 𝒑𝟎. 𝒑𝟎 = 𝑹𝒏 𝟎 𝒑𝒏 + 𝒅𝒏 𝟎
  • 107. 10/17/2017 Homogeneous Transformations 𝑥0 𝑦0 𝑧0 𝑦1 𝑥1 𝑧1 𝒑 𝑧2 𝑦2 𝑥2 𝒑𝟎 = ? 𝑧𝑛 𝑦𝑛 𝑥𝑛 A long sequence of rigid motions, find 𝒑𝟎. Represent rigid motions in matrix so that composition of rigid motions can be reduced to matrix multiplication as was the case for composition of rotations 𝒑𝟎 = 𝑹𝒏 𝟎 𝒑𝒏 + 𝒅𝒏 𝟎
  • 108. 10/17/2017 Homogeneous Transformations A long sequence of rigid motions, find 𝒑𝟎. Represent rigid motions in matrix so that composition of rigid motions can be reduced to matrix multiplication as was the case for composition of rotations 𝒑𝟎 = 𝑹𝒏 𝟎 𝒑𝒏 + 𝒅𝒏 𝟎 𝐇 = 𝑹 𝒅 ; 𝒅 ∈ ℝ𝟑 , 𝑹 ∈ 𝑺𝑶 𝟑
  • 109. 10/17/2017 Homogeneous Transformations A long sequence of rigid motions, find 𝒑𝟎. Represent rigid motions in matrix so that composition of rigid motions can be reduced to matrix multiplication as was the case for composition of rotations 𝒑𝟎 = 𝑹𝒏 𝟎 𝒑𝒏 + 𝒅𝒏 𝟎 𝐇 = 𝑹 𝒅 𝟎 𝟏 ; 𝒅 ∈ ℝ𝟑 , 𝑹 ∈ 𝑺𝑶 𝟑 Transformation matrices of the form H are called homogeneous transformations. A homogeneous transformation is therefore a matrix representation of a rigid motion.
  • 110. 10/17/2017 Homogeneous Transformations A long sequence of rigid motions, find 𝒑𝟎. Represent rigid motions in matrix so that composition of rigid motions can be reduced to matrix multiplication as was the case for composition of rotations 𝒑𝟎 = 𝑹𝒏 𝟎 𝒑𝒏 + 𝒅𝒏 𝟎 𝐇 = 𝑹 𝒅 𝟎 𝟏 ; 𝒅 ∈ ℝ𝟑 , 𝑹 ∈ 𝑺𝑶 𝟑 𝐇−𝟏 = 𝑹𝑻 −𝑹𝑻𝒅 𝟎 𝟏 The inverse transformation 𝑯−𝟏is given by
  • 111. 10/17/2017 Ex. :Two Rigid Motions 𝑥0 𝑦0 𝑧0 𝑦1 𝑥1 𝑧1 𝒑 𝑧2 𝑦2 𝑥2 𝑹𝟐 𝟎 The orientation transformations can simply be multiplied together. 𝒅𝟐 𝟎 The translation transformation is the sum of: • 𝒅𝟏 𝟎 the vector from the origin 𝑜0 to the origin 𝑜1 expressed with respect to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎. • 𝑹𝟏 𝟎 𝒅𝟐 𝟏 the vector from 𝑜1 to 𝑜2 expressed in the orientation of the coordinate system 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎. 𝒑𝟎 = 𝑹𝟏 𝟎 𝑹𝟐 𝟏 𝒑𝟐 + 𝑹𝟏 𝟎 𝒅𝟐 𝟏 + 𝒅𝟏 𝟎 𝐇 = 𝑹 𝒅 𝟎 𝟏 ; 𝒅 ∈ ℝ𝟑, 𝑹 ∈ 𝑺𝑶 𝟑 𝑹𝟏 𝟎 𝒅𝟏 𝟎 𝟎 𝟏 𝑹𝟐 𝟏 𝒅𝟐 𝟏 𝟎 𝟏 = 𝑹𝟏 𝟎 𝑹𝟐 𝟏 𝑹𝟏 𝟎 𝒅𝟐 𝟏 + 𝒅𝟏 𝟎 0 1
  • 112. 10/17/2017 Ex. :Two Rigid Motions 𝑥0 𝑦0 𝑧0 𝑦1 𝑥1 𝑧1 𝒑 𝑧2 𝑦2 𝑥2 𝑹𝟐 𝟎 The orientation transformations can simply be multiplied together. 𝒅𝟐 𝟎 The translation transformation is the sum of: • 𝒅𝟏 𝟎 the vector from the origin 𝑜0 to the origin 𝑜1 expressed with respect to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎. • 𝑹𝟏 𝟎 𝒅𝟐 𝟏 the vector from 𝑜1 to 𝑜2 expressed in the orientation of the coordinate system 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎. 𝒑𝟎 = 𝑹𝟏 𝟎 𝑹𝟐 𝟏 𝒑𝟐 + 𝑹𝟏 𝟎 𝒅𝟐 𝟏 + 𝒅𝟏 𝟎 𝐇 = 𝑹 𝒅 𝟎 𝟏 ; 𝒅 ∈ ℝ𝟑, 𝑹 ∈ 𝑺𝑶 𝟑 𝑹𝟏 𝟎 𝒅𝟏 𝟎 𝟎 𝟏 𝑹𝟐 𝟏 𝒅𝟐 𝟏 𝟎 𝟏 = 𝑹𝟏 𝟎 𝑹𝟐 𝟏 𝑹𝟏 𝟎 𝒅𝟐 𝟏 + 𝒅𝟏 𝟎 0 1
  • 113. 10/17/2017 Ex. :Two Rigid Motions 𝑥0 𝑦0 𝑧0 𝑦1 𝑥1 𝑧1 𝒑 𝑧2 𝑦2 𝑥2 𝑹𝟐 𝟎 The orientation transformations can simply be multiplied together. 𝒅𝟐 𝟎 The translation transformation is the sum of: • 𝒅𝟏 𝟎 the vector from the origin 𝑜0 to the origin 𝑜1 expressed with respect to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎. • 𝑹𝟏 𝟎 𝒅𝟐 𝟏 the vector from 𝑜1 to 𝑜2 expressed in the orientation of the coordinate system 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎. 𝒑𝟎 = 𝑹𝟏 𝟎 𝑹𝟐 𝟏 𝒑𝟐 + 𝑹𝟏 𝟎 𝒅𝟐 𝟏 + 𝒅𝟏 𝟎 𝐇 = 𝑹 𝒅 𝟎 𝟏 ; 𝒅 ∈ ℝ𝟑, 𝑹 ∈ 𝑺𝑶 𝟑 𝑹𝟏 𝟎 𝒅𝟏 𝟎 𝟎 𝟏 𝑹𝟐 𝟏 𝒅𝟐 𝟏 𝟎 𝟏 = 𝑹𝟏 𝟎 𝑹𝟐 𝟏 𝑹𝟏 𝟎 𝒅𝟐 𝟏 + 𝒅𝟏 𝟎 0 1
  • 114. 10/17/2017 Ex. :Two Rigid Motions 𝑥0 𝑦0 𝑧0 𝑦1 𝑥1 𝑧1 𝒑 𝑧2 𝑦2 𝑥2 𝑹𝟐 𝟎 The orientation transformations can simply be multiplied together. 𝒅𝟐 𝟎 The translation transformation is the sum of: • 𝒅𝟏 𝟎 the vector from the origin 𝑜0 to the origin 𝑜1 expressed with respect to 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎. • 𝑹𝟏 𝟎 𝒅𝟐 𝟏 the vector from 𝑜1 to 𝑜2 expressed in the orientation of the coordinate system 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎. 𝒑𝟎 = 𝑹𝟏 𝟎 𝑹𝟐 𝟏 𝒑𝟐 + 𝑹𝟏 𝟎 𝒅𝟐 𝟏 + 𝒅𝟏 𝟎 𝐇 = 𝑹 𝒅 𝟎 𝟏 ; 𝒅 ∈ ℝ𝟑, 𝑹 ∈ 𝑺𝑶 𝟑 𝑹𝟏 𝟎 𝒅𝟏 𝟎 𝟎 𝟏 𝑹𝟐 𝟏 𝒅𝟐 𝟏 𝟎 𝟏 = 𝑹𝟏 𝟎 𝑹𝟐 𝟏 𝑹𝟏 𝟎 𝒅𝟐 𝟏 + 𝒅𝟏 𝟎 0 1 We must augment the vectors 𝒑𝟎 , 𝒑𝟏 and 𝒑𝟐 by the addition of a fourth component of 1: 𝑷𝟎 = 𝒑𝟎 1 , 𝑷𝟏 = 𝒑𝟏 1 , 𝑷𝟐 = 𝒑𝟐 1
  • 115. 10/17/2017 Homogeneous Transformations 𝑷𝟎 = 𝑯𝟏 𝟎 𝑷𝟏 𝑷𝟎 = 𝑯𝟐 𝟎 𝑷𝟐 ….. 𝑷𝟎 = 𝑯𝒏 𝟎𝑷𝒏 𝑦0 𝑧0 𝑦1 𝑥1 𝑧1 𝒑 𝑧2 𝑦2 𝑥2 𝑧𝑛 𝑦𝑛 𝑥𝑛 𝑷𝟎 = 𝒑𝟎 1
  • 117. 10/17/2017 Homogeneous Transformations 𝐻1 0 = 𝑛𝑥 𝑠𝑥 𝑛𝑦 𝑠𝑦 𝑎𝑥 𝑑𝑥 𝑎𝑦 𝑑𝑦 𝑛𝑧 𝑠𝑧 0 0 𝑎𝑧 𝑑𝑧 0 1 = 𝑛 𝑠 0 0 𝑎 𝑑 0 1 𝒏 is a vector representing the direction of 𝒙𝟏 in the 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 system 𝒔 is a vector representing the direction of 𝒚𝟏 in the 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 system 𝒂 is a vector representing the direction of 𝒛𝟏 in the 𝒐𝟎 𝒙𝟎 𝒚𝟎 𝒛𝟎 system
  • 118. 10/17/2017 Composition Rule For Homogeneous Transformations Given a homogeneous transformation 𝑯𝟏 𝟎 relating two frames, if a second rigid motion, represented by 𝑯 is performed relative to the current frame, then: 𝐻 2 0 = 𝐻1 0 𝐻 whereas if the second rigid motion is performed relative to the fixed frame, then: 𝐻 2 0 = 𝐻 𝐻1 0
  • 119. 10/17/2017 Example Find 𝑯 for the following sequence of 1. a rotation by 𝜶 about the current 𝒙 − 𝒂𝒙𝒊𝒔, followed by 2. a translation of 𝒃 units along the current 𝒙 − 𝒂𝒙𝒊𝒔, followed by 3. a translation of 𝒅 units along the current 𝒛 − 𝒂𝒙𝒊𝒔, followed by 4. a rotation by angle 𝚹 about the current 𝒛 − 𝒂𝒙𝒊𝒔 Transformation with respect to the current frame 𝑯 𝟐 𝟎 = 𝑯𝟏 𝟎 𝑯 Transformation with respect to the fixed frame 𝑯 𝟐 𝟎 = 𝑯 𝑯𝟏 𝟎 Reminder:
  • 120. 10/17/2017 Example Find 𝑯 for the following sequence of 1. a rotation by 𝜶 about the current 𝒙 − 𝒂𝒙𝒊𝒔, followed by 2. a translation of 𝒃 units along the current 𝒙 − 𝒂𝒙𝒊𝒔, followed by 3. a translation of 𝒅 units along the current 𝒛 − 𝒂𝒙𝒊𝒔, followed by 4. a rotation by angle 𝚹 about the current 𝒛 − 𝒂𝒙𝒊𝒔 Transformation with respect to the current frame 𝑯 𝟐 𝟎 = 𝑯𝟏 𝟎 𝑯 Transformation with respect to the fixed frame 𝑯 𝟐 𝟎 = 𝑯 𝑯𝟏 𝟎 Reminder:
  • 121. 10/17/2017 Example Find 𝑯 for the following sequence of 1. a rotation by 𝜶 about the current 𝒙 − 𝒂𝒙𝒊𝒔, followed by 2. a translation of 𝒃 units along the current 𝒙 − 𝒂𝒙𝒊𝒔, followed by 3. a translation of 𝒅 units along the current 𝒛 − 𝒂𝒙𝒊𝒔, followed by 4. a rotation by angle 𝚹 about the current 𝒛 − 𝒂𝒙𝒊𝒔 Transformation with respect to the current frame 𝑯 𝟐 𝟎 = 𝑯𝟏 𝟎 𝑯 Transformation with respect to the fixed frame 𝑯 𝟐 𝟎 = 𝑯 𝑯𝟏 𝟎 Reminder:
  • 122. 10/17/2017 Example Find 𝑯 for the following sequence of 1. a rotation by 𝜶 about the current 𝒙 − 𝒂𝒙𝒊𝒔, followed by 2. a translation of 𝒃 units along the current 𝒙 − 𝒂𝒙𝒊𝒔, followed by 3. a translation of 𝒅 units along the current 𝒛 − 𝒂𝒙𝒊𝒔, followed by 4. a rotation by angle 𝚹 about the current 𝒛 − 𝒂𝒙𝒊𝒔 Transformation with respect to the current frame 𝑯 𝟐 𝟎 = 𝑯𝟏 𝟎 𝑯 Transformation with respect to the fixed frame 𝑯 𝟐 𝟎 = 𝑯 𝑯𝟏 𝟎 Reminder:
  • 123. 10/17/2017 Example Find 𝑯 for the following sequence of 1. a rotation by 𝜶 about the current 𝒙 − 𝒂𝒙𝒊𝒔, followed by 2. a translation of 𝒃 units along the current 𝒙 − 𝒂𝒙𝒊𝒔, followed by 3. a translation of 𝒅 units along the current 𝒛 − 𝒂𝒙𝒊𝒔, followed by 4. a rotation by angle 𝚹 about the current 𝒛 − 𝒂𝒙𝒊𝒔 Transformation with respect to the current frame 𝑯 𝟐 𝟎 = 𝑯𝟏 𝟎 𝑯 Transformation with respect to the fixed frame 𝑯 𝟐 𝟎 = 𝑯 𝑯𝟏 𝟎 Reminder:
  • 124. 10/17/2017 Example Find 𝑯 for the following sequence of 1. a rotation by 𝜶 about the current 𝒙 − 𝒂𝒙𝒊𝒔, followed by 2. a translation of 𝒃 units along the current 𝒙 − 𝒂𝒙𝒊𝒔, followed by 3. a translation of 𝒅 units along the current 𝒛 − 𝒂𝒙𝒊𝒔, followed by 4. a rotation by angle 𝚹 about the current 𝒛 − 𝒂𝒙𝒊𝒔 Transformation with respect to the current frame 𝑯 𝟐 𝟎 = 𝑯𝟏 𝟎 𝑯 Transformation with respect to the fixed frame 𝑯 𝟐 𝟎 = 𝑯 𝑯𝟏 𝟎 Reminder:
  • 125. 10/17/2017 Example Find the homogeneous transformations 𝑯𝟏 𝟎 , 𝑯𝟐 𝟎 , 𝑯𝟐 𝟏 representing the transformations among the three frames Shown. Show that 𝑯𝟐 𝟎 = 𝑯𝟏 𝟎 𝑯𝟐 𝟏 .