HAL Id: cel-02130071
https://hal.inria.fr/cel-02130071
Submitted on 15 May 2019
HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci-entific research documents, whether they are pub-lished or not. The documents may come from
L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de
Basic Knowledge
Philippe Martinet
To cite this version:
Philippe Martinet. Basic Knowledge. Doctoral. GdR Robotics Winter School: Robotica Principia, Centre de recherche Inria Sophia Antipolis – Méditérranée, France. 2019. �cel-02130071�
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationHomogeneous transformation
x
y
z
R
R
R
R
i
x
y
z
R
R
R
R
f
Geometry
i
T
f
i
T
f
Homogeneous transformation matrix
P
i
R
i
i
R (A): Orientation
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationHomogeneous transformation
Geometry
Consider a 3D point in space
f i R R
1
z
y
x
f
T
i
1
z
y
x
⋅
=
f R1
z
y
x
Then
f
P
i
z
y
x
f
R
i
z
y
x
f R i R+
⋅
=
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationHomogeneous transformation
Geometry
i
T
f
Homogeneous transformation matrix
R : Orientation
s, n, a Cosinus directors
RPY angles (Roll (z), Pitch(y), Yaw(x))
Briant angles (x,y,z)
Euler angles (z,x,z)
u.
θθθθ
, u.sin(
θθθθ
), u.sin(
θ/2
θ/2
θ/2
θ/2
),
Quaternion
λλλλ
1,
λλλλ
2,
λλλλ
3,
λλλλ
4P : Position
Cartesian coordinates
Cylindrical coordinates
Spherical coordinates
Different representations
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationHomogeneous transformation
Geometry
i
T
f
Homogeneous transformation matrix
R : Orientation
s, n, a Director Cosinus
P : Position
Cartesian coordinates
Different representations (i.e)
=
z z z y y y x x xa
n
s
a
n
s
a
n
s
R
=
z y xP
P
P
P
No rotation
No translation
P=(0,0,0)
TApplication fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationHomogeneous transformation
Geometry
i
T
f
Homogeneous transformation matrix
R : Orientation
s, n, a Director Cosinus
Main properties of the rotation matrix
1
a
n
s
=
=
=
0
n
a
0
a
s
0
n
s
=
⋅
=
⋅
=
⋅
n
s
a
s
a
n
a
n
s
=
×
=
×
=
×
=
y y y x x xa
n
s
a
n
s
R
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationHomogeneous transformation: Rotation matrix
Geometry
i
R
f
Rotation matrix Rot(x,
θθθθ
x)
Matrix to change the frame for one vector
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationHomogeneous transformation: Rotation matrix
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationHomogeneous transformation: Rotation matrix
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationHomogeneous transformation properties
Geometry
i
T
f
Homogeneous transformation matrix
Prop. 1)
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationHomogeneous transformation properties
Geometry
i
T
f
Homogeneous transformation matrix
Prop. 3)
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationHomogeneous transformation properties
Geometry
i
T
f
Homogeneous transformation matrix
Prop. 5)
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationHomogeneous transformation properties
Geometry
i
T
f
Homogeneous transformation matrix
Prop. 7)
T is defined in R
iApplication fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationHomogeneous transformation properties
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationHomogeneous transformation properties
Geometry
i
T
f
Homogeneous transformation matrix
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
Cartesian coordinates
ClassificationApplication fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
Cylindrical coordinates
ClassificationApplication fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
Spherical coordinates
ClassificationRigid body pose parameterization: position
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
Euler angles
ClassificationRigid body pose parameterization: orientation
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
RPY angles (z,y,x)
Classification
Rigid body pose parameterization: orientation
A
RPYApplication fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
Bryant angles (x,y,z)
Classification
Rigid body pose parameterization: orientation
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
Orientation (u,
θθθθ
)
ClassificationRigid body pose parameterization: orientation
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
Orientation (u.
θθθθ
)
ClassificationRigid body pose parameterization: orientation
Rodrigues formula
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
Orientation (u.
θθθθ
)
ClassificationRigid body pose parameterization: orientation
( )
u
θ
I
u
s
θ
u
(
c
θ
)
A
,
T=
3−
ˆ
.
+
ˆ
2.
1
−
( ) ( )
u
θ
A
u
θ
u
s
θ
A
,
−
,
T=
2
.
ˆ
.
[ ] [ ]
( ) ( )
2
,
,
.
.
Tu
A
u
A
s
u
s
u
θ
×=
θ
∧=
θ
−
θ
( )
(
A
u
θ
)
Trace
(
I
u
s
θ
u
(
c
θ
)
)
Trace
,
=
3+
ˆ
.
+
ˆ
2.
1
−
( )
(
)
(
)
( )
2ˆ
.
1
3
,
c
Trace
u
u
A
Trace
θ
=
+
−
θ
( )
(
A
u
,
θ
)
=
3
+
(
1
−
c
θ
)( )
.
−
2
Trace
( )
(
A
u
θ
)
c
θ
Trace
,
=
1
+
2
.
( )
(
A
u
θ
)
c
θ
Tr
,
=
1
+
2
.
( )
(
)
2
1
,
cos
θ
=
Tr
A
u
θ
−
s
y- n
x= 2 u
zs
θθθθ
a
x- s
z= 2 u
ys
θθθθ
n
z- a
y= 2 u
xs
θθθθ
− − − − − − = − 0 0 0 y z x z z y x y z x y x z y x z y x z y x z z z y y y x x x a n a s n a n s s a s n a a a n n n s s s a n s a n s a n s(
)
(
)
(
)
1
−
y za
n
1
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
Quaternion (
λλλλ
1,
λλλλ
2,
λλλλ
3,
λλλλ
4)
Classificationx
y
z
R
R
R
R
0
Case of serial manipulator
robot
x
y
z
R
R
R
R
1
x
y
z
x
y
z
R
R
R
R
k
R
R
R
R
k+1
C
k
C
0
C
n
Consider a robot with n+1 rigid bodies C
kWe associate n+1 frames
y
z
x
R
R
R
R
e
C
1
C
2
Application fields History and Bibliography Definitions Basic KnowledgeBasic Knowledge
ClassificationMulti-Rigid bodies
Case of serial manipulator robot
The problem to solve is to obtain the position and orientation
of the end effector frame R
ein the fixed frame R
0
=
+ + +1
000
P
R
T
k 1 k 1 k k 1 k ke
n
n
1
n
3
2
2
1
1
0
e
0
T
T
T
T
T
T
=
⋅
⋅
L
−
⋅
Elementary frame transform
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationMulti-Rigid bodies
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationRigid body kinematics
Circular motion
v: tangential velicity
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationRigid body kinematics
Rotating frame
R
f: fixed frame (origin O fixed)
R
m: mobile frame just in rotation w.r.t R
fR
R
R
R
f: fixed frame
R
R
R
R
m: Mobile frame
P : one point in
R
R
R
R
x
y
z
R
R
R
R
f
x
y
z
R
R
R
R
m
D
d
x P
P
O
P
V
O
V
P
V
m R R m Rf=
(
)
f+
(
)
m+
ω
ωω
ω
×
)
(
d
d
dt
d
D
d
dt
d
m f R R×
+
+
=
(
)
ω
ωω
ω
)
(
&
O
m
O
f
Application fields History and Bibliography Definitions Basic KnowledgeBasic Knowledge
ClassificationKinematic
P
O
P
V
P
V
m R Rf=
(
)
m+
ωω
ω
ω
×
)
(
Remarks :
If D=0 then
If D=0 and then
V
P
0
m R=
)
(
d
P
O
P
O
P
V
m m Rf⋅
×
−
×
=
=
=
ω
ωω
ω
ω
ωω
ω
ω
ωω
ω
~
)
(
]
ˆ
[
]
[
]
[
0
0
~
ωω
ω
ω
ω
ωω
ω
ω
ωω
ω
ωω
ω
ω
ω
ωω
ω
ω
ωω
ω
ω
ωω
ω
ω
ωω
ω
=
=
=
−
−
=
∧AS
x z y zUsing this relation we can established
The kinematic evolution of a multi-rigidbody robot
See next slide
P
O
P
V
O
V
P
V
m R R m Rf=
(
)
f+
(
)
m+
ω
ωω
ω
×
)
(
Application fields History and Bibliography Definitions Basic KnowledgeBasic Knowledge
ClassificationApplication fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationMulti-Rigid bodies kinematics
Angular velocity of Riw.r.t R0 expressed in Ri Velocity of Oi+1 w.r.t Ri expressed in Ri
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationMulti-Rigid bodies kinematics
Angular velocity of Ri w.r.t R0 expressed in Ri
Angular velocity of Ri w.r.t Ri-1 expressed in Ri
Angular velocity of Ri-1 w.r.t R0 expressed in Ri-1
=
C
iC
i+1Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationMulti-Rigid bodies kinematics
Angular velocity of Ri w.r.t R0 expressed in Ri
Angular velocity of Ri w.r.t Ri-1 expressed in Ri
Angular velocity of Ri-1 w.r.t R0 expressed in Ri-1
=
C
iC
i+1Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationMulti-Rigid bodies kinematics
Considering two frames R
aand R
brigidly linked
(case for R
nand R
E)
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationMulti-Rigid bodies kinematics
Considering two frames R
iand R
jand a twist V
i=(v
i,
ω
i)
Texpressed in O
i
Projection
with
Application fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationDifferential translation and rotation of frames
Consider a differential translation vector dPi expressing the translation
of the origin of frame Ri, and of a differential rotation vector
δ
i, equal to
ui.d
θ
, representing the rotation of an angle d
θ
about an axis, with
unit vector ui, passing through the origin Oi.
R
=
a
R
b
R.R
T
= I3
x
y
z
R
R
R
R
bbbbx
y
z
Ra
Ra
Ra
Ra
aaaa T TT Tbbbb ==== a a a aRRRR b bb b aaaattttbbbb 0 00 000000000 1111Ω
b/a|
a˙
R.R
T
+ R. ˙
R
T
= 0
R.R
˙
T
= −R. ˙
R
T
= −
R.R
˙
T
T
˙
R.R
T
= S(t)
R
˙
= S(t).R
˙p
a
(t) = ˙
R
(t).p
b
(t)
˙p
a
(t) = S(t).R.p
b
(t)
˙p
a
(t) = Ω × p
a
(t)
˙p
a
(t) = Ω × (R.p
b
(t) )
˙p
a
(t) = [Ω]
×
.R.p
b
(t)
S
(t) = [Ω]
×
p
a
(t) = R(t).p
b
(t)
Consider p
b
(t) constant
Application fields History and Bibliography DefinitionsBasic Knowledge
Classificationx
y
z
R
R
R
R
bbbbx
y
z
Ra
Ra
Ra
Ra
a a a aTTTT b bb b ==== a a a aRRRR b bb b aaaattttbbbb 0 00 000000000 1111 b bb bTTTT a a a a ==== b bb bRRRR a a a a bbbbttttaaaa 0 00 000000000 1111 bt
a
represents the position
b
R
a
represents the orientation
Ω
a/b|
bΩ
b/a
|
a ×
=
a
R
˙
b
.
a
R
T
b
Ω
a/b
|
b ×
=
b
R
˙
a
.
b
R
T
a
Ω
b/a|
aΩ
b/a|
aΩ
b/a|
a= −Ω
a/b|
aΩ
b/a|
a=
aR
b.
Ω
b/a|
bΩ
a/b|
bΩ
a/b|
b= −Ω
b/a|
bΩ
a/b|
b=
bR
a.
Ω
a/b|
aApplication fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationApplication fields History and Bibliography Definitions Basic Knowledge
Basic Knowledge
ClassificationRepresentation of forces (wrench)
A collection of forces and moments acting on a body can be reduced to a wrench Fi
at point Oi, which is composed of a force fi at Oi and a moment mi about Oi:
Note that the vector field of the moments constitutes a screw where the vector of the
screw is f
i. Thus, the wrench forms a screw.
Consider a given wrench
iF
i