Lesson reading
live
55 min
Start with the lesson question, connect the representations, and test the model with evidence.
Inspect the opening phenomenon
Predict what changes, then name the evidence.
Apply in the lab
Name the evidence before reading the answer.
Read only what helps
Then use the lab and recall check.
More when needed
Transcript and resources stay available below.
Course progress
Paths, Obstacle Avoidance, and Recovery
Decision challenge
Use the opening example to make a prediction, identify evidence, and explain which model supports it.
Watch for the core concept, then connect the evidence to the lesson explanation.
Lesson reading
live
55 min
Video script
draft
Transcript fallback
available
courses/ai-robotics/modules/07-localization-mapping-and-navigation/lessons/03-paths-obstacle-avoidance-and-recovery/video-transcript.md
Diagnose a Blocked Robot Before Retrying
draft
30 min
Mastery check
live
5 questions / 10 min
# Transcript: Why can a robot have a valid path but still stop? A robot can have a valid route and still stop. Why? The global planner chooses where to go. The local controller must find a safe motion right now. Watch each candidate path. The straight option crosses the person's safety zone, so it is rejected. This robot cannot slide sideways; it must choose a feasible curve. If every candidate is blocked, stopping is the correct command. Then diagnose the cause. For a fresh obstacle, wait or replan. For stale sensor data, clear only the stale region and sense again. For a bad pose or transform, stop and repair the state estimate. Recovery is safe only when something changes: new evidence, corrected state, or different geometry. What must change before this robot retries?
Reading lab
Connect the lesson's words, diagrams, graphs, evidence, and equations.
A path is a geometric proposal from the current pose to a goal. It is not a promise that every segment remains executable. A newly observed person or lethal collision margin, localization error, stale obstacle evidence, or a motion constraint can invalidate the next control action even while the original global line still looks clear.
Treat navigation as a repeated evidence loop:
The shortest route may carry excessive nonlethal proximity cost, violate the lethal collision margin, exceed the robot's turning capability, or become newly blocked. A longer candidate can be the correct executable choice.
A mobile robot is following a global path around a shelf. At time t₀, the aisle is free. At t₁, a person enters the local sensor field. The obstacle layer marks new evidence; the costmap represents a lethal collision region plus graded nonlethal proximity costs around it.
Blindly repeating plan → fail → clear everything → retry can hide the true fault. Ask what changed:
Nav2 behavior trees formalize bounded retry and escalation. A contextual recovery can improve the chance that planning or following succeeds; a system-level recovery follows only when the local repair fails.
The robot has a valid global path, but all local trajectories overlap occupied or lethal-cost cells around a newly observed obstacle. Which evidence should change before retrying, and what would make a backup defensible?
A robust navigation system separates global intent from local executable motion. It represents nearby evidence as cost, checks the swept robot footprint, executes short commands, verifies progress, and uses bounded, diagnosis-driven recovery. When evidence or state is untrustworthy, stopping is a valid navigation outcome.
Compare global paths with locally executable trajectories, test a swept robot footprint against costs, and select an evidence-based recovery.
Use a 16×16 grid at 0.25 m/cell, with coordinates from 0 through 15. The robot footprint is a 0.50 m × 0.40 m rectangle, so it occupies more than its center cell. Mark a shelf from cells (9,6) through (9,10). Place the robot at (3,8) facing right and the goal at (13,8).
(5,8) and inflate that observation by two cells. Confirm that this blocks the immediate straight candidate without erasing the still-valid global detour below the shelf.Use a table with one row per candidate and columns for footprint cells, maximum cost, minimum clearance, validity, and recovery decision. Use symbols plus labels; color is optional.
nav_msgs/Path not sufficient to command wheel motion directly?Increase the robot footprint by 20% while keeping the same global path. Re-evaluate all candidates and explain why platform geometry must be included in navigation configuration.