Skip to content
Adaptive AgroTech NetworkUniversity of Southern Denmark · SDU Drone Center
Course2026
← Practical Robot Collision Avoidance: Algorithms to HardwareModule 06

Collision Avoidance 06 | A*: Give the Robot a Route Around Persistent Obstacles

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 Collision Avoidance 06 | A*: Give the Robot a Route Around Persistent Obstacles. 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 graph search with a* 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: Collision Avoidance 06 | A*: Give the Robot a Route Around Persistent Obstacles

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

Graph search with A*

A* searches a graph using cost already incurred plus a heuristic estimate to the goal. Grid connectivity, footprint inflation and traversal cost determine what “shortest” means. A centerline route still needs collision checking with the full robot footprint.

Model, units and assumptions

\[f(n)=g(n)+h(n)\]

g is accumulated graph cost and h is an estimate of remaining cost in the same units. An admissible heuristic does not overestimate the optimum remaining cost; consistency further supports efficient closed-list handling.

Worked engineering example

On a four-connected unit-cost grid, from (1,2) to (4,6), Manhattan distance is 7. If the current accumulated cost is 5, this node has f = 12. Obstacles can force a longer route.

Practical task and evidence

Apply the following procedure to the topic of this lesson: Collision Avoidance 06 | A*: Give the Robot a Route Around Persistent Obstacles.

  • Specify grid resolution, connectivity, inflated footprint and traversal costs.
  • Compare path cost with a zero-heuristic Dijkstra baseline on a small map.
  • Test a narrow passage that is open for a point but closed for the actual footprint.

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. With g = 8 and h = 3, what A* priority f results?

Show worked answer

11 in the chosen graph-cost units.

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

Summary

Graph search with A*: 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 ↗