Skip to content
Adaptive AgroTech NetworkUniversity of Southern Denmark · SDU Drone Center
Course2026
← Applied MATLAB and SimulinkModule 08

Robot Waypoint Following in Simulink: Pure Pursuit Explained | 08

InstructorDr. Redmond R. Shamshiri
AffiliationAssistant Professor of Robotics · University of Southern Denmark (SDU)
Study time35 minutes
Watch & study

Lecture video

Open on YouTube ↗

Video unavailable here? Watch on YouTube. Captions and playback speed are available in the player.

Study companion. These editable notes, worked examples and exercises supplement the source material. They are not a verbatim video transcript or a reproduction of the book.

Study Robot Waypoint Following in Simulink: Pure Pursuit Explained | 08. Use the accompanying model, numerical example and practical task to connect the topic to a measurable engineering result. Notes are original supplemental material, not a transcript.

Learning Objectives

  • Explain the role of path tracking and lookahead in the engineering system.
  • Calculate the worked quantity with consistent units.
  • Design a measurement that can reveal an implementation failure.

Study guide

Original companion notes. These notes support the topic of this lesson. They are not a transcript or a claim about the exact contents, hardware settings or examples in the video.

Lesson focus: Robot Waypoint Following in Simulink: Pure Pursuit Explained | 08

Define the input, measured output, units and pass/fail condition before running the experiment.

Path tracking and lookahead

A path is geometric; a trajectory adds timing. A tracking controller needs localization, a reachable target and actuator limits. Increasing lookahead can smooth steering while increasing corner-cutting.

Model, units and assumptions

\[\kappa=\frac{2y_L}{L_d^2},\qquad \dot\theta=v\kappa\]

yL is target lateral offset expressed in the robot frame, Ld is distance from robot to lookahead point, and κ is commanded curvature. This planar pure-pursuit relation assumes a valid forward lookahead target.

Worked engineering example

With yL = 0.10 m and Ld = 0.50 m, curvature is 0.8 m⁻¹. At v = 0.25 m/s the requested yaw rate is 0.20 rad/s, before acceleration and wheel-speed constraints.

Practical task and evidence

Apply the following procedure to the topic of this lesson: Robot Waypoint Following in Simulink: Pure Pursuit Explained | 08.

  • Track a straight path first, then a broad curve at low speed.
  • Record lateral error, heading error, requested curvature and applied wheel speed.
  • Compare two lookahead distances using the same speed and initial error.

Submit: a diagram or interface table, a short timestamped dataset, the calculation with units, and a paragraph explaining the largest observed limitation.

Check your understanding

Question. If yL = 0.05 m and Ld = 1 m, what yaw rate is requested at 0.4 m/s?

Show worked answer

Curvature = 0.1 m⁻¹ and yaw rate = 0.04 rad/s.

Extension. Change one assumption in the model and explain which measurement would reveal that it no longer holds.

Summary

Path tracking and lookahead: keep units, assumptions and timing explicit. Check the numerical model against an independent observation before using it in a larger system.

Suggested Reading & Resources

  • Reading
    ROS 2 concepts and tutorials

    Primary documentation or original technical reference; check the version used in your lab.

    Open ↗