What is a Robot Costmap?
A costmap assigns travel costs that guide route choice and clearance. Obstacle inflation discourages paths near walls, while footprint geometry and fresh updates prevent point-based routes from hiding physical collisions.
The key idea
A robot costmap represents how desirable or hazardous different places are for travel. Walls receive lethal cost and open ground low cost, allowing a planner to compare routes. Inflation adds extra cost around obstacles to encourage clearance rather than running close to edges. Cost values alone do not remove the need to represent the robot's size and shape. A gap that appears traversable for a point can still block a farm robot's wheels or body. Navigation must therefore check the complete footprint and update its costmap when new obstacles appear, keeping route selection connected to current physical geometry.
What to remember
- Cost values influence route preference.
- Inflation adds a clearance-related cost near obstacles.
- Full-footprint checks are required even when a point path is clear.
Check your understanding
What does obstacle inflation add to a costmap?
Show the explanation
Higher travel cost around obstacles, encouraging a route to maintain clearance.