Simultaneous localisation and mapping (SLAM) is the problem of a robot building a map of unfamiliar surroundings while working out where it is within that map, using only its own sensors. In space there is no GPS beyond Earth orbit, so rovers, landers, free-flying robots and asteroid probes all depend on some version of this capability to know where they are.
Flight missions have so far used parts of the SLAM toolkit rather than full SLAM running end to end onboard. This page explains those parts, where they have flown and what still holds the field back. For the wider context, see What is Space Autonomy?
๐งญ Why it matters
A robot that does not know its position cannot drive safely, return to a sample site or place a tool on a target. On other worlds, position has traditionally been fixed by people on Earth comparing rover images with orbital photographs.
That is slow. NASA says the ground process for Perseverance could take a day or more, and that small errors from each drive could add up to as much as 35 m on long drives (NASA JPL).
- No satellite navigation: Mars, asteroids and the inside of a space station have no GPS signal to lean on.
- Drift: wheel counters and inertial sensors accumulate error, especially when wheels slip.
- Precision tasks: sampling, docking and perching need centimetre-level knowledge of where the robot is.
โ๏ธ How it works
SLAM systems combine two kinds of estimate: relative motion (how far have I moved?) and absolute position (where am I on the map?). The map and the position are refined together as new observations arrive.
- Feature detection: software finds distinctive points such as rock corners or surface textures in each camera image.
- Visual odometry: tracking those features between frames gives an estimate of motion. On Mars this catches wheel slip that wheel counters cannot see (Maimone et al.).
- Sensor fusion: a filter, typically a variant of the Kalman filter (a statistical method for blending noisy measurements), merges camera data with inertial measurements, range finders or depth sensors.
- Map matching: the robot compares what it sees with a stored map, such as orbital imagery or a landmark catalogue, to remove accumulated drift.
- Loop closure: recognising a place already visited lets the system correct the whole trajectory, a step common in research systems on Earth.
In practice, many space systems split the work. Maps are built carefully on the ground; the spacecraft then localises against them onboard. Astrobee, NASA’s free-flying robot on the International Space Station, works this way: a landmark map is built offline using structure from motion, and the robot matches camera features to it in flight (Coltin et al., NASA).
๐ In the field
| Mission | Agency | Year | What the autonomy did |
|---|---|---|---|
| Spirit and Opportunity | NASA | 2004 | Stereo visual odometry measured true motion on slopes and sand, with slip as high as 125% recorded on Spirit (Maimone et al.). |
| Astrobee | NASA | 2019 | First robot, Bumble, flew under its own power on the ISS in June 2019 (NASA); it localises by matching camera features to a prebuilt landmark map, fused with inertial data (Coltin et al., NASA). |
| OSIRIS-REx | NASA | 2020 | Natural Feature Tracking compared live images with an onboard catalogue of Bennu’s surface to guide sampling, reaching within 1 m of the target (Norman et al., PSJ). |
| Ingenuity | NASA | 2021 | Made the first powered flight on another planet on 19 April 2021, its navigation camera tracking the ground autonomously (NASA). It flew using a camera fused with an inertial unit, with a laser range finder supplying scale (Mahlknecht et al.). |
| Perseverance | NASA | 2026 | Mars Global Localization matches panoramas to orbital maps onboard, fixing position to about 25 cm in roughly two minutes (NASA JPL). |
Perseverance’s upgrade is a useful marker. NASA reports that the algorithm located the rover correctly at all 264 past stops used in testing, and it entered regular operations in February 2026 (NASA JPL). One JPL engineer likened it to “giving the rover GPS”.
OSIRIS-REx’s system is described by its team as the first autonomous optical navigation system using natural terrain features to guide a spacecraft to a planetary surface (Norman et al., PSJ). See also Optical Navigation.
โ ๏ธ Challenges
- Computing limits: radiation-hardened processors are slow. Perseverance’s global localisation runs on a commercial processor from the Ingenuity base station, more than 100 times faster than the rover’s main computers (NASA JPL). See Edge Computing in Space.
- Featureless or repetitive terrain: smooth sand, uniform regolith and repeating ripples give cameras little to lock onto.
- Lighting and shadow: a robot’s own shadow can fool feature tracking; Opportunity logged one such false result (Maimone et al.). Polar craters add long shadows and darkness.
- Hovering and pure rotation: for flying robots, feature depth is hard to estimate when the camera barely translates (Mahlknecht et al.).
- Verification: engineers must prove a wrong position estimate will be caught. Perseverance runs its algorithm several times and has a main computer check that results agree (NASA JPL).
๐ Related topics
- Autonomous Planetary Rovers
- Terrain Relative Navigation
- Optical Navigation
- Path Planning
- What is Space Autonomy? (main guide)
๐ฐ Latest coverage
- Mars Has a New Distance Champion โ And It Picked Its Own Route
- Japan Is Building the Moon’s Sat-Nav Receiver โ So Rovers Can Find Their Own Way
- Hera Reaches the Asteroid NASA Hit โ And Prepares to Navigate by Sight
๐ Sources
- NASA JPL โ NASA’s Perseverance Now Autonomously Pinpoints Its Location on Mars
- Maimone, Cheng and Matthies (JPL) โ Two Years of Visual Odometry on the Mars Exploration Rovers
- Coltin et al. (NASA) โ Localization from Visual Landmarks on a Free-flying Robot
- Norman et al., Planetary Science Journal (University of Arizona) โ Autonomous Navigation Performance Using Natural Feature Tracking during the OSIRIS-REx Touch-and-Go Sample Collection Event
- NASA Goddard Scientific Visualization Studio โ How OSIRIS-REx will Steer Itself to Sample an Asteroid
- NASA โ Look, No Hands! NASA’s First Astrobee Robot “Bumble” Starts Flying in Space
- NASA โ NASA’s Ingenuity Mars Helicopter Succeeds in Historic First Flight
- Mahlknecht et al. (arXiv) โ Exploring Event Camera-based Odometry for Planetary Robots