Last Known Position
Plunging through a foreign sky, beyond help from home, a spacecraft matches live photographs against a map in its memory to choose where to touch down.
From 340 kilometres away, NASA's HiRISE camera, orbiting Mars, photographed a small object hanging beneath a parachute, about three kilometres above the surface. It was Curiosity, descending towards its landing site in August 2012. The photograph had been planned months before the rover arrived.
"If HiRISE took the image one second before or one second after, we probably would be looking at an empty Martian landscape," said Sarah Milkovich, a scientist at NASA's Jet Propulsion Laboratory, or JPL, which builds and flies most of its Mars missions.
Before the parachute opened, Curiosity had been steering itself. It was the first spacecraft to make a guided entry at Mars, using the same steering logic that had brought Apollo 8 home through Earth's atmosphere. As the capsule fell through the Martian air, its computer tilted it to adjust its lift. The blunt underside pushed it slightly sideways as well as slowing it. Three times in ninety seconds, the computer reversed the tilt to correct its path. Radar measured its height and speed.
Yet nothing on board could recognise the landscape rushing up to meet it.
A tethered rocket rig called a sky crane lowered the rover onto the floor of Gale Crater, about two kilometres from where its navigation had expected it to arrive. A late tilt reversal and a tailwind were the likely causes. Nothing had gone wrong with the guidance.
The target zone had been drawn large enough to absorb that error. Two kilometres was a respectable result for a machine arriving on another planet. It was also a problem. Scientists wanted to land somewhere the terrain could not tolerate an error like that.
That place was Jezero Crater, chosen in November 2018 after five years of evaluating more than sixty possible landing sites. An ancient lake had once filled the basin, and a river delta could have collected and preserved traces of ancient life. The trouble was getting there. The crater was full of steep cliffs, sand dunes, boulder fields and small impact craters. It had originally been considered too hazardous for a landing.
Al Chen, who led the landing team for Perseverance, put the problem simply: "What we needed was a Neil Armstrong for Mars."
"What we came up with was Terrain-Relative Navigation."
It meant finding a position by matching the view from a camera against a map. There were two maps, with two jobs. One showed the ground as seen from orbit. The other marked the hazards that mattered to a landing, using much sharper images.
The first map gave the spacecraft something to recognise. The second told it where landing was allowed. JPL marked dangerous terrain in red, and safer ground in blue and green. Those colours represented decisions made by people on Earth, long before the spacecraft arrived.
Both maps were built from photographs taken by Mars Reconnaissance Orbiter, the spacecraft whose HiRISE camera had caught Curiosity beneath its parachute. This time, the pictures would travel to Mars to help a machine recognise where it was.
Jezero had been chosen for what its rocks might reveal about the planet's past. The maps made it possible to attempt a landing there.
When Perseverance launched on 30 July 2020, Earth and Mars were in their ideal positions for the trip. Those two maps flew in its computer. The people who had marked the dangerous ground would be hundreds of millions of kilometres away when it came time to use their work.
For nearly seven months, JPL's navigators tracked Perseverance by radio, measuring its distance and speed. Three course corrections adjusted its path towards Mars. In the final weeks, they refined its approach to the point where it would enter the atmosphere.
A signal takes a little over a second to travel from the Moon to Earth. From Perseverance on landing day, it took eleven minutes and twenty-two seconds.
The descent would take about seven minutes. JPL's engineers called them the "seven minutes of terror".
By the time a signal announcing entry into the atmosphere reached Earth, the spacecraft would already be on the ground, intact or destroyed. There was no time for anyone at JPL to see a problem and send back a correction.
The radio measurements had brought Perseverance to its entry point with an estimate of its position and speed. From there, it would have to keep that estimate for itself. The numbers reaching Earth would describe a descent already over.
Perseverance entered the Martian atmosphere using the same guidance as Curiosity. The program and its settings had flown unchanged. As the air thickened, the computer tilted the capsule to steer towards the landing area.
The first change came when it was time to open the parachute. Curiosity opened its one as soon as it slowed to a set speed, wherever it happened to be. Perseverance used its estimated position to choose the moment. Like braking a bike to stop on a line: brake too early you stop short; brake too late and you overshoot. If Perseverance was falling short of its target, it could wait; if it was overshooting, it could open sooner.
It had no view of the ground yet, so the decision rested entirely on its own estimate. The maps were on board, but the camera was still covered. It had to trust its numbers enough to open a parachute it could neither pull back nor open a second time.
About four minutes after entering the atmosphere, about eleven kilometres up and travelling at roughly 1,500 kilometres an hour, Perseverance deployed its parachute. The canopy spread to 21.5 metres across, nearly the length of a tennis court. It was attached to the back shell, the cover above the rover. Its irregular pattern of coloured panels allowed engineers to follow how the canopy twisted and turned as it opened. Cameras on the back shell filmed it opening.
The spacecraft slowed beneath it. The heat shield still covered the underside, where it had taken the heat of entry. Behind it were the radar and the camera that would match the landscape against the orbital map.
About twenty seconds after the parachute opened, the heat shield separated and fell away towards the floor of Jezero Crater. The ground came into view.
The first picture was taken around four kilometres above the surface. The camera took a few images to establish a rough position, then about one every second.
The computer compared patches of each picture with patches of the orbital map, looking for the same pattern of light and dark. It worked like fitting a jigsaw piece by looking at the picture on the box, matching patterns without needing to recognise what they showed. Each match placed a patch of ground at a known position on the map. Once it had several matches, it could calculate where the camera must be.
Between pictures, sensors carried the estimate: gyroscopes felt every turn and accelerometers felt every change in speed. It was like sitting in a car with your eyes shut, feeling the corners, acceleration and braking, and making a rough guess at where you were. Then you could open your eyes and check. Each new picture gave Perseverance that check. The computer compared what it had predicted with what the picture showed, then updated its estimate, giving more weight to whichever information it considered more reliable.
Before Apollo 12, NASA had found the position of Surveyor III, a robot lander already sitting on the surface, by matching its pictures against a photograph taken from orbit. During the descent, Apollo 12's commander checked the craters below him by eye. Perseverance was the first spacecraft to find its position on Mars by matching pictures against a map.
About two kilometres up, Perseverance and its rocket-powered descent stage dropped away from the back shell and parachute. The computer used its latest position estimate to choose a landing target.
The computer checked which of the safe places the descent stage could still reach from where it was. It allowed for the spacecraft's movement and the fuel it had left. A place marked safe was of no use if the craft could no longer get there.
The descent rockets fired, slowing the fall and pushing the craft sideways across the sky towards its target. Perseverance came down using the same sky-crane manoeuvre that had lowered Curiosity onto Mars in 2012. About twenty metres above the ground, the rockets had slowed it to walking pace. The descent stage lowered the rover on cords. Its wheels took the weight, the cords were cut, and the stage flew off to crash at a safe distance. Perseverance was on the ground.
On Earth, more than eleven minutes had to pass before anyone knew. "Touchdown confirmed," said Swati Mohan, who led guidance, navigation and control operations at JPL.
Perseverance had landed within five metres of the target it had chosen during descent, about the length of a car, against a requirement of sixty metres. The destination had been mapped before launch; during the final minutes of flight, the spacecraft had found its own place within it.
Four days later, the team offered a hint about the parachute's coloured panels. Within hours, members of the public had decoded their second purpose. The pattern carried "Dare Mighty Things", JPL's motto, in binary. Around the edge were the laboratory's latitude and longitude, in degrees, minutes and seconds, counted from Greenwich. The same panels that let engineers follow the canopy as it opened had carried a message from the people who sent it.
Nearly two years later, Perseverance began recording places for another spacecraft to find. From December 2022 to January 2023, it laid ten sample tubes on flat ground at Three Forks, near the base of Jezero's ancient river delta. A future mission was meant to collect them and bring them back to Earth, where laboratories could look for signs of ancient life.
The rover had been collecting pairs of samples. It left one of each pair on the ground and kept its twin aboard. The ten tubes also included a sample of the atmosphere and a witness tube, used to check for contamination. Together, they formed the first sample depot on another world.
Each tube dropped from inside the rover. A camera on its arm checked where it had landed. Each had a flat end piece called a glove, shaped to help a future collector pick it up.

The tubes were spaced five to fifteen metres apart in a zigzag, giving the planned retrieval helicopters room to land and collect them one by one. The team mapped each location so precisely that a future visitor could find every tube even under windblown dust.
The mission meant to bring the samples home was cancelled, and no date has yet been set to try again. Perseverance had left a carefully measured and marked "here" on the floor of Jezero Crater. Each tube rests in its own circle of clear ground, waiting for a future navigator to use the map.
Launched in 1977, Voyager 1 was still receiving commands through the Deep Space Network in 2026.
Voyager's project manager, Suzy Dodd, described the exchange: send "good morning, Voyager 1" at eight on Monday morning, and the reply would arrive at about eight a.m. on Wednesday.
Bolted to the spacecraft is a gold-plated record, carrying a message intended for those who might find it. Its cover includes a map showing the Solar System's position relative to fourteen pulsars, collapsed stars spinning rapidly and sweeping beams of radio signals across space. Each pulsar is identified by its period, the time between one pulse and the next.
Those periods needed a unit of time that a finder could recognise, so the map used hydrogen, the most common atom in the universe. A hydrogen atom has a regular transition between two energy states, providing a tiny unit of time, about seven-tenths of a billionth of a second. The cover draws the atom so that a finder can work out the unit.
The map could also tell its finder when it was made. Pulsars gradually slow, and the intervals between their pulses grow at measurable rates. Comparing the periods recorded on the map with later measurements reveals how much time has passed.
Before Voyager, the map had flown on Pioneer 10, launched in 1972. Its plaque also carries a drawing of a man and a woman. The man's right hand is raised.
NASA's account of Pioneer's plaque, published in Pioneer Odyssey in 1977, ends with an epilogue called "Interstellar Cave Painting":
"The plaque represents at least one intellectual cave painting, a mark of Man, that might survive not only all the caves of Earth, but also the Solar System itself."
We started with handprints on a cave wall that marked where we stood, and ended with an address on a record cover on the off chance the dark was listening.