Control of Mobile Robots: Glue Lectures: Instructor
Control of Mobile Robots: Glue Lectures: Instructor
Instructor:
Smriti Chopra
ECE Ph.D. Candidate
Georgia Tech
(b)
x = v cos
y = v sin
=!
In Action
t = 10s
A
High level task !
x = v cos
y = v sin
=!
t = 10s
A
High level task !
Control design - v,
!
6
x = v cos
y = v sin
=!
t = 10s
x = v cos
y = v sin
=!
R
(vr + vl ) cos
2
R
y = (vr + vl ) sin
2
= R (vr vl )
L
x =
2v + !L
2R
2v !L
vl =
2R
vr =
An intuitive example
For inputs v = 0, ! = constant , find the corresponding angular wheel
velocities vr
, vl
2v + !L
2R
2v !L
vl =
2R
vr =
CL
vr =
2R
CL
vl =
2R
8
t = 10s
x = v cos
y = v sin
=!
Wheel encoders
x0 = x + Dc cos
y 0 = y + Dc sin
Dr Dl
0
= +
L
10
D
r = 2R
Dr + Dl
D
c =
2
11
x0 = x + Dc cos
Dr = Rvr dt
y 0 = y + Dc sin
Dr Dl
0
= +
L
Dl = Rvl dt
x(t + dt) = x(t) + xdt
R
x = (vr + vl )cos
2
R
y = (vr + vl )sin
2
R
= (vr vl )
L
An Odometry example
If my robot starts at the origin (pos and orientation is 0), where is it
located after 0.1s, given that 10 ticks were recorded for the right wheel
and 6 ticks for the left wheel. Wheel radius is 2m, total ticks is 100,
distance between wheels is 4m.
Dl = 2R
Dr = 2R
Dc =
12
tick l
N
tick r
N
Dr + Dl
2
x0 = x + Dc cos
x0 = 1.0053 m
y 0 = y + Dc sin
Dr Dl
0
= +
L
y0 = 0 m
0
= 0.1257 rad
13