NASA: 'Extreme programming' controls Mars Lander robot

Engineers send code 170 million miles through space daily in search for life on Mars

Scooping up soil samples and searching for elements that could support life on Mars isn't just an adventure for the Mars Lander and the robotic arm doing the scooping.

It's also an adventure for the approximately 30 engineers and programmers at NASA who are tasked with writing and testing 1,000 to 1,500 lines of software code and then beaming it about 93,000,000 miles away -- every day.

Matthew Robinson, the robotic arm flight software engineer at the Jet Propulsion Laboratory, aid the team has to write the code sequences to run different parts of the Phoenix spacecraft, including the robotic arm, the cameras and analysis equipment. One mistake and the Lander sits idle for a day, wasting precious time that could be used to discover if the planet can support life.

So, far, all the code they've beamed up to Mars in the past week has worked.

"It's a challenge because we have a two to three-day strategic plan and then each day that plan is refined," Robinson said. "They decide on the final plan that day. You have to build 20 to 30 sequences and each can have 50 lines of code in it. And they have a lot of interplay between different instruments, so you have to make sure the sequences are not just working, but working together.

"Building the sequences is an extreme programming challenge every single day," he added.

And the developers, who used the C programming language to build their own software for a Linux operating system, are expected to be dealing with such extreme programming for about three months. The Mars Lander, which is on a one-way trip, is slated to gather and analyze samples throughout the summer months. After that, the planet's temperature will drop well below the current safe range of minus 170 degrees Fahrenheit to 32 degrees Fahrenheit, causing the Lander to freeze up and stop working.

The mission is focused on collecting ice and soil samples that can be analyzed in eight different ovens, four wet chemistry cells and a microscopic imager on the Lander. Robinson explained that they're not looking for life. They're looking for the elements that support life.

The robotic arm, which weighs between 20 and 30 pounds on Earth, is the key to the effort. The arm, which has a scoop attached at the end that is designed to dig up ice and soil, and then deliver it to the analysis tools. No soil, no analysis.

And keeping that robotic arm, along with other parts of the Lander, running every day is a huge chore.

Robinson said a 3-D digital elevation map was used last Sunday to write code to make the arm reach down and touch the ground. That gave them an idea of how accurate the maps are, how easily the soil can be scooped up, and how well they could control the arm from so far away.

"It was really exciting," said Robinson. "It's the first time a scoop has touched Mars since Viking was there in the '70s. And it's also the first time a vehicle has gone to the polar region of Mars. We've actually been able to reach out and touch the Martian north pole."

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Sharon Gaudin

Computerworld
Show Comments

Father’s Day Gift Guide

Brand Post

Bitdefender 2019

Bitdefender’s best-in-class security solutions have been awarded Product of the Year. Get cybersecurity that 500 MILLION users already have and trust!

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Luke Hill

MSI GT75 TITAN

I need power and lots of it. As a Front End Web developer anything less just won’t cut it which is why the MSI GT75 is an outstanding laptop for me. It’s a sleek and futuristic looking, high quality, beast that has a touch of sci-fi flare about it.

Emily Tyson

MSI GE63 Raider

If you’re looking to invest in your next work horse laptop for work or home use, you can’t go wrong with the MSI GE63.

Laura Johnston

MSI GS65 Stealth Thin

If you can afford the price tag, it is well worth the money. It out performs any other laptop I have tried for gaming, and the transportable design and incredible display also make it ideal for work.

Andrew Teoh

Brother MFC-L9570CDW Multifunction Printer

Touch screen visibility and operation was great and easy to navigate. Each menu and sub-menu was in an understandable order and category

Louise Coady

Brother MFC-L9570CDW Multifunction Printer

The printer was convenient, produced clear and vibrant images and was very easy to use

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Featured Content

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?