Path planning is how a robot decides which route to take from where it is to where it needs to be, balancing safety, distance, energy and time. For planetary rovers it means choosing a way through rocks, slopes and sand that the robot can only partly see, and doing it with limited computing power and no human on hand to step in.
Good onboard planning is what turns a rover from a vehicle that creeps forward between ground commands into one that covers real distance each day. This page explains the methods, the missions that have used them and the problems still open. For the wider context, see What is Space Autonomy?
๐งญ Why it matters
Ground teams can draw a route from orbital images, but those images miss small rocks and fine detail. When Perseverance crossed the Snowdrift Peak boulder field in 2023, the straight-line route was 520 m, yet the rover logged 759 m, much of the extra spent steering around rocks orbital images had not shown (NASA JPL).
A planner that only looks a few metres ahead can also trap itself. On sol 108, Spirit spent about 105 minutes and 47 drive steps failing to get around a cluster of rocks because its local planner kept favouring the direct line to the goal (Carsten et al., JPL).
- Delay: each ground-planned step costs at least one communication cycle.
- Incomplete maps: the robot must replan as it sees new hazards.
- Safety margins: a single bad choice can strand the vehicle for good.
โ๏ธ How it works
Rover path planning usually runs at two scales: a local planner deciding the next few metres, and a global planner keeping the whole route sensible.
- Cost maps: the terrain is divided into grid cells, each given a cost from slope, roughness and obstacles. The Yutu-2 team built such maps on the ground from stereo images to search for paths (ISPRS Annals).
- Local arc selection: the rover scores a set of possible short driving arcs against hazards and progress towards the goal, then drives the best one. Spirit and Opportunity’s GESTALT planner worked this way (Carsten et al., JPL).
- Global search: algorithms such as Field D* find a low-cost route across the whole map and repair it cheaply as new terrain data arrive (Carsten et al., JPL).
- Collision checking: before committing, the planner checks that the rover’s body and wheels will clear the terrain. Perseverance ranks candidate paths and then tests the best with an Approximate Clearance Evaluation (ACE) algorithm (Abcouwer et al.).
- Localisation: a plan is only as good as the rover’s knowledge of its own position. See Simultaneous Localisation & Mapping.
๐ In the field
| Mission | Agency | Year | What the autonomy did |
|---|---|---|---|
| Spirit and Opportunity (GESTALT) | NASA | 2004 | Scored candidate driving arcs from stereo images to avoid hazards while heading for a goal (Carsten et al., JPL). |
| Spirit and Opportunity (Field D*) | NASA | 2006 | A global planner uploaded in a July 2006 software load let the rovers escape dead ends that stalled the local planner, using under 1 MB of memory (Carsten et al., JPL). |
| Yutu-2 (Chang’e-4) | CNSA | 2019 | Ground teams combined 2 cm terrain models with the rover’s mobility limits into cost maps for path search on the lunar far side (ISPRS Annals). |
| Perseverance (AutoNav) | NASA | 2023 | Crossed the Snowdrift Peak boulder field in six autonomous drive sols, about 12 sols faster than Curiosity would likely have needed (NASA JPL). |
| Perseverance | NASA | 2026 | Better onboard localisation let the planner hold safer margins from keep-out zones; the rover drives itself about 90% of the time (IEEE Spectrum). |
Field D* earned its place through testing. In about 100 sandbox trials on JPL’s rover testbed, it added only around 3% to each drive step’s time (Carsten et al., JPL).
Human planners have not left the loop. IEEE Spectrum notes that people still set Perseverance’s science goals and long-range routes (IEEE Spectrum). For the higher-level task of deciding what to do, rather than where to drive, see Automated Planning & Scheduling.
โ ๏ธ Challenges
- Costly safety checks: clearance checking is vital but computationally expensive; if the top-ranked paths fail, the planner must keep evaluating, slowing each cycle (Abcouwer et al.). Researchers have proposed machine-learning heuristics to rank paths better before checking.
- Local traps: planners that favour direct progress can stall behind long obstacles or in cul-de-sacs (Carsten et al., JPL).
- Hidden hazards: soft sand and buried rocks may not show up as geometry in a cost map, so a “safe” path can still trap the wheels.
- Limited processors: flight computers constrain map size and how often plans can be refreshed. See Edge Computing in Space.
๐ Related topics
- Autonomous Planetary Rovers
- Simultaneous Localisation & Mapping
- Hazard Detection & Avoidance
- Automated Planning & Scheduling
- What is Space Autonomy? (main guide)
๐ฐ Latest coverage
- Mars Has a New Distance Champion โ And It Picked Its Own Route
- NASA’s Moon Base Sends the Robots First: An Autonomous Rover for the Dark Craters
๐ Sources
- Carsten, Rankin, Ferguson and Stentz (JPL / CMU) โ Global Path Planning on Board the Mars Exploration Rovers
- NASA JPL โ Autonomous Systems Help NASA’s Perseverance Do More Science on Mars
- Abcouwer et al. (arXiv) โ Machine Learning Based Path Planning for Improved Rover Navigation
- ISPRS Annals โ Computer Vision in the Teleoperation of the Yutu-2 Rover
- IEEE Spectrum โ Mars rover distance record