10/17/2017
Representing Positions
Apointcorrespondstoaspecific
locationinspace.
Avectorspecifiesadirectionand
amagnitude(e.g.displacements
orforces).
Thepoint�isnotequivalentto
thevector??????
�,thedisplacement
fromtheorigin�
�tothepoint�
isgivenbythevector??????
�.
We will use the term vectorto 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
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,weseeaclearneed,notonlyforarepresentationsystemthatallowspointsto
beexpressedwithrespecttovariouscoordinatesystems,butalsoforamechanism
thatallowsustotransformthecoordinatesofpointsthatareexpressedinone
coordinatesystemintotheappropriatecoordinateswithrespecttosomeother
coordinateframe.
10/17/2017
Representing Rotations
Inordertorepresenttherelative
positionandorientationofonerigid
bodywithrespecttoanother,wewill
rigidlyattachcoordinateframesto
eachbody,andthenspecifythe
geometricrelationshipsbetween
thesecoordinateframes.
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�
��
��
�isobtainedbyrotating
frame�
��
��
�byanangle??????.
Thecoordinatevectorsfortheaxesof
frame�
��
��
�withrespecttocoordinate
frame�
��
��
�aredescribedbyarotation
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
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 operatortaking 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
Thematrix�
�
�
representsarotationaltransformationbetweentheframes�
��
��
��
�
and�
��
��
��
�.
Supposewenowaddathirdcoordinateframe�
��
��
��
�relatedtotheframes
�
��
��
��
�and�
��
��
��
�byrotationaltransformations.
Agivenpoint�canthenberepresentedbycoordinatesspecifiedwithrespecttoanyof
thesethreeframes:�
�
,�
�
and�
�
.
The relationship among these representations of �is:
where each�
�
�
is a rotation matrix
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 �−����followedby
•a rotation of angle ??????about the current �−����
10/17/2017
Example
Suppose a rotation matrix R represents
•a rotation of angle ??????about the current �−����followedby
•a rotation of angle ??????about the current �−����
10/17/2017
Example
Suppose a rotation matrix R represents
•a rotation of angle ??????about the current �−����followedby
•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 �
�−����followedby
•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 secondrotation 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 �
�−����followedby
•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 �
�−����followedby
•a rotation of angle??????about the fixed �
�−����
10/17/2017
Example
Suppose a rotation matrix R represents
•a rotation of angle ??????about �
�−����followedby
•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
Wecansummarizetheruleofcompositionofrotationaltransformationsby:
Givenafixedframe�
��
��
��
�acurrentframe�
��
��
��
�,togetherwithrotation
matrix�
�
�
relatingthem,ifathirdframe�
��
��
��
�isobtainedbyarotation�
performedrelativetothecurrentframethenpost-multiply�
�
�
by�=�
�
�
toobtain
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 Rfor 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 Rfor 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 Rfor 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 Rfor 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 Rfor 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 Rfor 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 Rfor 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 Rare 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-Yawrepresentation
•Axis/Anglerepresentation
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 thez-axisby the angle ??????
2.rotationaboutthecurrenty−axisbytheangle??????
3.rotationaboutthecurrentz−axisbytheangle??????
10/17/2017
Euler Angles Representation
Given a matrix �??????�??????3
Determinea set of Euler angles??????,??????,and??????so that�=�
���
If �
��≠�and�
��≠�,
itfollowthat:??????=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
Determinea set of Euler angles??????,??????,and??????so that�=�
���
If �
��=�
��=�,thenthe fact that R is orthogonal implies that �
��=±�and that �
��
=�
��=�thus R has the form:
If �
��=+�then �
??????=1and �
??????=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
Determinea set of Euler angles??????,??????,and??????so that�=�
���
If �
��=�
��=�,thenthe fact that R is orthogonal implies that �
��=±�and that �
��
=�
��=�thus R has the form:
If �
��=−�then �
??????=−1and �
??????=0, so that??????=π.
Thus, the ??????−??????can be determined as ??????−??????= Atan2(−�
��,−�
��) = Atan2(�
��,�
��)
As before there is infinity of solutions.
10/17/2017
Yaw-Pitch-RollRepresentation
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 yawangles, which we shall also denote (??????,??????,??????)
We specify the order in three successive rotations as follows:
1.Yaw rotation about �
�−axisby the angle??????
2.Pitchrotationabout�
�−axisbytheangle??????
3.Roll rotationabout�
�−axisbytheangle??????
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 yawangles, which we shall also denote (??????,??????,??????)
We specify the order in three successive rotations as follows:
1.Yaw rotation about �
�−axisby the angle??????
2.Pitchrotationabout�
�−axisbytheangle??????
3.Roll rotationabout�
�−axisbytheangle??????
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 yawangles, which we shall also denote (??????,??????,??????)
We specify the order in three successive rotations as follows:
1.Yaw rotation about �
�−axisby the angle??????
2.Pitchrotationabout�
�−axisbytheangle??????
3.Roll rotationabout�
�−axisbytheangle??????
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 yawangles, which we shall also denote (??????,??????,??????)
We specify the order in three successive rotations as follows:
1.Yaw rotation about �
�−axisby the angle??????
2.Pitchrotationabout�
�−axisbytheangle??????
3.Roll rotationabout�
�−axisbytheangle??????
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 yawangles, which we shall also denote (??????,??????,??????)
We specify the order in three successive rotations as follows:
1.Yaw rotation about �
�−axisby the angle??????
2.Pitchrotationabout�
�−axisbytheangle??????
3.Roll rotationabout�
�−axisbytheangle??????
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 yawangles, which we shall also denote (??????,??????,??????)
We specify the order in three successive rotations as follows:
1.Yaw rotation about �
�−axisby the angle??????
2.Pitchrotationabout�
�−axisbytheangle??????
3.Roll rotationabout�
�−axisbytheangle??????
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 fixedframes we could
also interpret the above transformation as roll-pitch-yaw, in
that order, each taken with respect to the currentframe.
The end result is the same matrix.
??????
??????
??????
10/17/2017
Yaw-Pitch-Roll Representation
Find the inverse solution to a given rotation matrix R.
Determinea 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 �.
•Realignwith 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
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 �??????�??????3can 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 �istheidentitymatrixandthe
axisofrotationisundefined.
10/17/2017
Example
Suppose �is generated by a rotation of 90
°
about �
0followed by a rotation of 30
°
about
�
0followed 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 �
0followed by a rotation of 30
°
about
�
0followed 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 �
0followed by a rotation of 30
°
about
�
0followed 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 �
0followed by a rotation of 30
°
about
�
0followed 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 �
0followed by a rotation of 30
°
about
�
0followed by a rotation of 60
°
about �
0. Find the axis/angle representation of �
Reminder:
The axis/angle representation of �
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 Hare 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 �
0to the origin �
1expressed with respect to �
��
��
��
�.
•�
�
�
�
�
�
the vector from �
1to �
2expressed 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 �
0to the origin �
1expressed with respect to �
��
��
��
�.
•�
�
�
�
�
�
the vector from �
1to �
2expressed 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 �
0to the origin �
1expressed with respect to �
��
��
��
�.
•�
�
�
�
�
�
the vector from �
1to �
2expressed 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 �
0to the origin �
1expressed with respect to �
��
��
��
�.
•�
�
�
�
�
�
the vector from �
1to �
2expressed 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
??????
1
0
=
����
����
??????���
??????���
����
00
??????���
01
=
��
00
??????�
01
�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 �−����
Transformationwith
respect to the current
frame
??????
�
�
=??????
�
�
??????
Transformationwith
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 �−����
Transformationwith
respect to the current
frame
??????
�
�
=??????
�
�
??????
Transformationwith
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 �−����
Transformationwith
respect to the current
frame
??????
�
�
=??????
�
�
??????
Transformationwith
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 �−����
Transformationwith
respect to the current
frame
??????
�
�
=??????
�
�
??????
Transformationwith
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 �−����
Transformationwith
respect to the current
frame
??????
�
�
=??????
�
�
??????
Transformationwith
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 �−����
Transformationwith
respect to the current
frame
??????
�
�
=??????
�
�
??????
Transformationwith
respect to the fixed
frame
??????
�
�
=????????????
�
�
Reminder:
10/17/2017
Example
Find the homogeneous transformations ??????
�
�
, ??????
�
�
, ??????
�
�
representing the transformations among the three frames
Shown. Show that ??????
�
�
=??????
�
�
??????
�
�
.