Path Planning
Choosing a route or movement sequence that helps a robot reach its goal safely and efficiently.
Which route can the cart actually take?
A fictional gallery cart must travel from receiving to the print room. Both paths below use measured corridor lengths, but they differ in availability.
East passage · 12 metres
Receiving to the east door is 5 metres. The door to the print room adds 7. The door is currently closed to carts.
North passage · 15 metres
Receiving to the north hall is 8 metres. The hall to the print room adds 7. This route is open and has sufficient clearance.
East door · 5 m + 7 m · closed
North hall · 8 m + 7 m · open
What if the east door reopens?
If clearance and all other conditions are equal, the east route becomes feasible and saves three metres.
What happens when the map changes?
The shortest feasible route in the current example is the 15-metre north passage. Recheck feasibility when a passage reopens or a new obstruction appears. The path is a geometric plan; sensing and control still have to execute it.
What It Includes
Path planning can include global route selection, local obstacle avoidance, speed control, turning constraints, collision margins, and task sequencing. A useful planner often balances several goals at once, such as speed, safety, energy use, and the need to avoid high-risk zones.
Follow the idea
SLAM relates the cart’s estimated position to its map.
Trajectory prediction can inform a planner about moving people.
Related concepts (6)
Examples in the AI guides
Related Yenra articles (13)
Source · Navigation2 documentation on navigation servers
Return to Path Planning in the A–Z glossary