Robot Mechanics and Control RIME-811: Dr. Hasan Sajid
Robot Mechanics and Control RIME-811: Dr. Hasan Sajid
Robot Mechanics and Control RIME-811: Dr. Hasan Sajid
RIME-811
Dr. Hasan Sajid
Representing Position and Orientation
Describe frame
{B} with respect to
frame {A}
Orientation Description in 2D – Orthonormal rotation matrix
Eq 1
Eq 2
Orientation Description in 2D – Orthonormal rotation matrix
Example: Figure shows a frame {B} that is rotated relative to frame {A}
about Z by 30 degrees. Given BP as below, Find AP?
Rotation Matrix in Toolbox
R=rot2(0.2)
Symbolic Mathematics
syms theta
R=rot2(theta)
Mappings: Changing Descriptions from Frame to Frame
Case 2: Mappings involving translated frames
Position Description
• Translation?
• It is simply vector addition
Homogeneous Form of a Vector
Working in 2D – Homogeneous Transformation
Matrix
The description of
frame {B} relative
to frame {A}
*The 4 x 4 matrix is called a
homogeneous transform. For our
purposes, it can be regarded purely as a
construction used to cast the rotation and
translation of the general transform into a
single matrix form
Mappings: Changing Descriptions from Frame to Frame
Example: Figure shows a frame {B}, which is rotated relative to frame (A}
about Z by 30 degrees, translated 10 units in XA, and translated 5 units in
YA Find Ap, where
Transformation Arithmetic: Multiplication and Inversion
we could define
Transformation in Toolbox
T3 = T1*T2
trplot2(T3, 'frame', '3', 'color', 'g');
T4 = T2*T1;
trplot2(T4, 'frame', '4', 'color', 'c');
P = [3 ; 2 ];
plot_point(P, 'label', 'P', 'solid', 'ko');
Transformation Arithmetic: Multiplication and Inversion
Inverting a Transform: Consider a frame {B} that is known with respect
to a frame {A}—that is, we know the value of ABT. Sometimes we will
wish to invert this transform, in order to get a description of {A} relative
to {B}—that is, BAT
Transformation Arithmetic: Multiplication and Inversion
Example: Figure shows a frame {B} that is rotated relative to frame {A}
about Z by 30 degrees and translated four units in XA and three units in
YA .Thus, we have a description of ABT. Find, BAT
Transformation Equations
We can express frame {D} as product of different transformations in
different ways
Spatial Relationships
Transformation Equations
Example: