PC Pro

The Mars Helicopter: 17 flights later

We catch up with the team who have successful­ly piloted a Linux-powered drone on Mars

-

Last year was a big year for Linux, as the operating system played a critical role in a major achievemen­t: the first ever powered flight on another planet. On 19 April 2021, the Ingenuity drone – or “Mars Helicopter”, as NASA call it – took to the skies of Mars. And under the hood, the on-board computer was running Linux.

Last spring, PC Pro spoke to Tim Canham, the software and operations lead on the project, and he shared with us details of how the helicopter works ( see issue 321, p34). Now, a staggering 17 successful flights later, we thought it was time to check in on the helicopter’s progress.

“The helicopter has exceeded our expectatio­ns,” said Canham. “It’s lived far longer, it’s been able to outperform what we thought it could and it has stayed healthy. And we’re still continuing to plan these flights well into the future.”

He’s particular­ly pleased with the thermal performanc­e, as the Martian atmosphere makes it harder to dissipate heat. But the helicopter has proven itself more resilient than expected. “The first 30 Sols [Martian days] were ‘can it actually fly under control and survive?’,” he said.

“After that, [NASA’s Mars rover team] said, ‘Well, why don’t you try acting like a scout for us and go ahead of us and take pictures?’”

The helicopter is now working in tandem with NASA’s surface rover, Perseveran­ce, to explore the Martian landscape. That’s enabling scientists to study challengin­g terrain in a region of the red planet called Séítah, which would be tricky for Perseveran­ce to navigate alone. “We did this gonzo flight,” said Canham. “It was like 700 metres or something like that. It was a three-minute flight.” This is much further and far longer than had been expected, as the team had

previously estimated the helicopter might only be capable of 90 seconds of flying time.

Linux’s flying colours

In terms of the software, Canham is very pleased with how Linux has been performing. The only blip was last May, when the navigation software experience­d an error that sent the helicopter off course, but Canham’s team were able to diagnose the problem and upload a patch.

The team has also improved communicat­ions with the rover, which takes the helicopter’s data and sends it back to Earth, by using standard Linux tools.

“What we’ve been doing is learning to take advantage of some of the Linux features,” said Canham. “One of the things that has enabled this extended mission is that modest little utility Bzip. It’s a compressio­n utility that’s part of Linux and it’s on the helicopter as part of the standard set of tools that we put on there.”

“After flights, we have these large engineerin­g logs of the flight data and normally, if we just took them uncompress­ed and sent them over the radio to the rover, it would take a long time. And so what we’ve been doing... is after we generate those files, we actually just run Bzip compressio­n on the command line and compress those files down to about half their size, and then ship them over to the rover. And that saves us a lot of time and energy that we otherwise would spend talking on the radio.”

Is this proof that Linux is ready for bigger, future missions? Could future Mars rovers and rockets use Linux, too? “I don’t think it’s there yet,” said Canham. “JPL and NASA classify their missions and in terms of how much risk they’re willing to accept, and [the] helicopter is what they call a Class D technology demonstrat­ion, in which they’re willing to accept a lot more risk. That’s why they even let us in the door.

“It’s difficult to make that leap, because there’s so much at stake during something like entry, descent, landing, where you’re trying to land a $2 billion spacecraft.”

However, Canham does think the helicopter’s success is good news for the future of Linux in space.

“I think it’s definitely increased its prestige, because of the visibility of the helicopter. And the fact that it’s doing as well as it has, it’s definitely got the attention and notice of people at NASA, [so] there’s a real path forward for Linux.”

It’s definitely got the attention of people at NASA, so there’s a real path forward for Linux

 ?? ??
 ?? ?? ABOVE The team behind the Mars Helicopter have cause to celebrate
ABOVE The team behind the Mars Helicopter have cause to celebrate
 ?? ??

Newspapers in English

Newspapers from United Kingdom