9 - Parameterization
9 - Parameterization
• Velocity peak at the middle → most of the time the velocity < max
• Not using the motor as fully as we could
Hybrid trajectory
Trapezoidal
Parameterizations of RB confs SE(3)
• Orientation:
• Rotation matrix
• Axis-angle
• Euler
• RPY
• Unit quaternion
• Position: Cartesian (x, y, z)
• Rotation + Translation
• Homogeneous transformation
𝑥
• Cartesian pose
𝑦
𝑧
𝒙 = 𝑞0
𝑞1
𝑞2
• Not easily parameterized 𝑞3
𝑞02 + 𝑞12 + 𝑞22 + 𝑞32 =1
(cont.)
𝑥0
𝑥𝑓
𝑦0
𝑧0 𝑦𝑓
𝑧𝑓
𝑸𝟎
𝑸𝒇
Lynch, Park
Mobile and Serial Robots
(Robots Móviles y Articulados)
Parameterization 2
MCTG1021
• Orientation:
• Rotation matrix
• Axis-angle
• Euler
• RPY
• Unit quaternion
• Position: Cartesian (x, y, z)
• Rotation + Translation
• Homogeneous transformation
𝑥
• Cartesian pose
𝑦
𝑧
𝒙 = 𝑞0
𝑞1
𝑞2
• Not easily parameterized 𝑞3
𝑞02 + 𝑞12 + 𝑞22 + 𝑞32 =1
(cont.)
𝑥0
𝑥𝑓
𝑦0
𝑧0 𝑦𝑓
𝑧𝑓
𝑸𝟎
𝑸𝒇
Lynch, Park
Screw motion
Pf The pitch of a pure screw
• Two points relates rotation about an axis
to translation along that axis.
P0
Pf
P0
3R Example
Screw motion
• Pitch h=d/θ
ෝ
• 𝒑′′ = 𝒒 + 𝒆𝒘𝜽 𝒑 − 𝒒 + 𝒉𝜽𝒘
• HT
ෝ p p’’
p -- g -- q + 𝑒 𝒘𝜽 𝒑 − 𝒒 + ℎ𝜃𝒘
𝒑 ෝ
𝒘𝜃 ෝ
𝒘𝜃
𝒈 = 𝑒 𝑰 − 𝑒 𝒒 + ℎ𝜃𝒘 𝒑
1 𝟎 1 1
p’
From the definition of RB transf:
ෝ ෝ
𝑒 𝒘𝜃 𝑰 − 𝒆𝒘𝜃 𝒘 × 𝒗 + 𝒘𝒘𝑻 𝒗𝜃
𝟎 1
Then,
𝒗 = −𝒘 × 𝒒 + ℎ𝒘
For a revolute joint:
ℎ = 0; 𝒗 = −𝒘 × 𝒒
Screw theory
g→ w, θ, v → screw(h, l, M)
Dual numbers or dual scalars
• RB configuration parameterization
• Screw theory
p p’’
• Axis, pitch, magnitude
• Chasles’ Theorem
• Dual numbers
• Dual vectors p’
• Dual quaternions
• UDQ
Final Project
𝑨 = 𝑨𝑟 + 𝜖𝑨𝑑
= 0.9061 − 0.0747 0.1802 0.3753
+ 𝜖 [−0.11, 0.3031, 0.1631, 0.2487]
𝜃 𝑑 𝜃
𝑐𝑜𝑠 − 𝜖 sin
2 2 2
𝜃 𝑑 𝜃 𝜃
= 𝑢1 sin + 𝜖 𝑢1 𝑐𝑜𝑠 + sin 𝑚1 =⋯
2 2 2 2
⋮
…
See ScLerp handout on ‘Aula virtual’
Power of a Unit Quaternion
Pf
P0
Screw linear interpolation (ScLERP)
Coordinate invariant 𝜃
Respects motion sub-group constraints
Advantages
Summary