IN THIS LESSON
Main objective:
Introduce the principles of path planning and teach students how a robot can find a route from its current position to a destination on a known grid map.
Topics covered:
Navigation vs path planning: understanding the difference between deciding where to go and determining the route to get there.
Representing the environment: modelling the environment as a grid of cells, distinguishing free space, obstacles, starting position and destination.
Movement and connectivity: defining which movements are possible between neighbouring cells (e.g. up, down, left and right).
Path-planning algorithms: introduction to basic search algorithms:
Depth-First Search (DFS): exploring one possible route as far as possible before backtracking when it reaches a dead end.
Breadth-First Search (BFS): exploring paths level by level, finding the shortest path when all movements have equal cost.
A*: using a heuristic to guide the search towards the destination and reduce unnecessary exploration.
Outcome:
The robot is able to plan its path using A*.