nx ox ax dx
ny oy ay dy
nz oz az dz
0 0 0 1
Scaling
Perspective Factor
or Projection
Vector
1 0 0 14
0 1 0 42
T01· T1A =
0 0 1 48
0 0 0 1
Hey, This works! (we got the
same answer)
-at least for this translational
stuff!
What about Rotational
Transformations?
X1
O0,O 1 X0
Z0,Z 1
What is the Representation of P1
in Both Frames?
i1 i0 k1 i0 x
p p
x0 j1 i0 1
p
y i1 j0 j1 j0
k1 j0 y p
0 1
p p
z0 0
i1 k j1 k0 k1 k0 z 1
Psst:This is a R matrix!
Converting it to a HTM Form (4x4)
x0
p
Cos Sin 0 0 x1p
p Sin Cos
0 0 y1 p
y0
zp
0
0 0 1 0 z1p
1 0 0 0 1 1
For the Dot (inner) Product:
a b a b Cos( (a b))
Vector of
i1 i0 1 1 Cos(360 )
origin1 to
where:
orgin0 is
Cos(360 ) Cos(360) * Cos Sin(360) * Sin
(0,0,0) – they
Cos
are the same
thus:
point!
i1 i0 Cos
similarly for all other Dot Terms
Lets See? is 37deg and P1 is (2,4,6)
Cos = 0.799
Sin = 0.602 0.799 0.601 0 0
0.601 0.799 0 0
HTM is:
0 0 1 0
0 0 0 1
Cos 0 Sin 0
0 1 0 0
Troty = Sin 0 Cos 0
0 1
0 0
Lets look at Another Issue!
Since we are in Matrix Math now, We remember
that the “order of multiplication” matters
That is A*B B*A (in general)
When we deal with physical space this is true as
well. But it even offers one more added difficulty:
Did we take motion Relatively (space is redefined after
an operation) or are all operations taken W.R.T. a fixed
geometric space?
First Define two simple Operations:
Simple Translation of (4,0,0)
1 0 0 4
0 1 0 0
A=
0 0 1 0
0 0 0 1
Ho
R
Ce
Ta
Robot Mapping
The idea here is to match up the Tool’s
geometric pose with the pose of a Target in
our work space.
If we have a part that needs a hole drilled at
a certain location, we must get the tool,
carried by the robot, to this location (actually
a point right above the drilled hole and also
at the bottom of the drilled hole will be
needed).
Remembering Dynamics, to equate poses,
they must be defined in a common coordinate
system.
Robot Mapping (cont.)
(TCER)-1*TCeTa*TTaP*TPHo = TR0*T0n*Tntool
Here we have to ‘pre-multiply’ both the LHS & RHS by
the inverse of the TCER matrix
(TR0)-1*(TCER)-1*TCeTa*TTaP*TPHo
=T0n*Tntool
Robot Mapping (cont.)
(TR0)-1*(TCER)-1*TCeTa*TTaP*TPHo* (Tntool)-
1 = T n
0