Chapter 3 - Part 1 - Mobile Robots & Control
Chapter 3 - Part 1 - Mobile Robots & Control
Mobile Robots
& Control
and to steer toward the goal, which is at the vehicle-relative angle in the
world frame of
We use the operator since 𝜃 ∗ , 𝜃
are angles, not real numbers, and
• A simple proportional controller the result is always in the interval
−𝜋, 𝜋 .
𝐾𝑣 = 0.5, 𝐾ℎ = 2
𝐾𝑣 = 0.5, 𝐾ℎ = 4
𝐾𝑣 = 4, 𝐾ℎ = 2
3.1.4 Driving Along a Line
• Another useful task for a mobile robot is to follow a line on the xy-plane
defined by 𝑎𝑥 + 𝑏𝑦 + 𝑐 = 0.
• We achieve this using two steering controllers.
• The first controller:
turns the robot toward the line to minimize d, the robot’s normal distance
from the line
turns the steering wheel to drive the robot toward the line and move along
it.
• The Simulink model
Vehicle motion along a line from different initial configurations.
Heading angle and distance from
Heading angle Distance from line
line for different 𝐾𝑑 and 𝐾ℎ
𝐾𝑑 = 0.5, 𝐾ℎ = 1
𝐾𝑑 = 0.5, 𝐾ℎ = 2
𝐾𝑑 = 1, 𝐾ℎ = 1
3.1.5 Driving Along a Path
• Instead of following a straight line, we might wish to follow an arbitrary
path on the xy-plane. The path might come from one of the path
planners.
• A simple and effective algorithm for path following is pure pursuit in
which we move at constant velocity and chase a point that is a constant
distance ahead on the path.
• The path is defined by a set of N points 𝑝𝑖 , 𝑖 = 1, … , 𝑁 and the robot’s
current position is 𝑝𝑟 .
• The first step is to find the index of the point on the path that is closest
to the robot
• Next, we find the first point along the path that is at least a distance d
ahead of that point
𝑑=1
𝑑=5
𝑑 = 10
3.1.6 Driving to a Configuration
• We discuss is driving to a specific configuration 𝑥 ∗ , 𝑦 ∗ , 𝜃 ∗ .
• For tasks like parking, the orientation of the vehicle is important.
• To control the final orientation, we first rewrite the motion model in the
matrix form
where the inputs to the vehicle model are the speed 𝑣 and the turning rate
𝜔 which can be achieved by choosing the steered-wheel angle as
• We then transform the equations into
polar coordinate