Flash: Software wings its way to Mars rovers

 

Connecting state and local government leaders

NASA's twin Mars rovers have been receiving medicinal shots of software over the agency's Deep Space Network.

NASA's twin Mars rovers have been receiving medicinal shots of software over the agency's Deep Space Network.

The updates let Earthbound programmers finally get the Spirit rover back to doing its job, said Roger Klemm, a flight software developer at NASA's Jet Propulsion Laboratory in Pasadena, Calif.

Last week, Spirit was successfully analyzing the mineral composition of Martian rock. Spirit had fallen into a mysterious communications silence on Jan. 21, apparently from a shortage of system memory for the flash file system.

The rover's computer could not allocate enough memory for the file system, so it kept trying to reboot itself, Klemm said.

Engineers commanded Spirit's computer to stop using the flash memory and perform a checkdisk routine. They discovered the computer was choking on thousands of separate files.

Each rover has 256M of flash memory, with 227M available for files, plus 128M of RAM. Certain blocks are reserved for dedicated program buffers. The JPL team last week was preparing to reformat Spirit's flash memory. The programming team also has become aggressive about deleting files from the flash memory of the second rover, Opportunity, Klemm said.

Most of the code is written in C, running under the VxWorks 5.3.1 operating system from Wind River Systems Inc. of Alameda, Calif. A few files are in assembly language, and one module is in C++.

Engineers at NASA Langley Research Center in Hampton, Va., adapted a flight-mechanics application, originally developed in the 1970s for planning shuttle missions, to model the complex interactions of the Spirit and Opportunity rovers' hardware and software.

Before the landings, NASA executed multiple simulations of parachute, rover capsule and back shell behavior during entry into the Martian atmosphere, said Eric Queen, a Langley research engineer.

Studying landing scenarios

Using a 128-processor SGI supercomputer at JPL, the Langley engineers studied thousands of possible random landing scenarios via a mathematical technique called Monte Carlo simulation. The supercomputer crunched through the simulations in a few hours, instead of taking two weeks as it did in the days of the 1997 Mars Pathfinder program, Queen said.

The simulations factored in the rovers' onboard software. Although the rovers' computers have less processing power than modern PCs, they have 'a lot more intelligence onboard than any previous Mars mission,' Queen said.

Meanwhile, scientists at JPL are using sophisticated graphics technology to reconstruct the Martian surface in 3-D to aid the engineers on Earth who do the driving.

JPL has two eight-processor SGI Onyx 300 computers, each with a dual-pipeline SGI InfiniteReality 4 graphics subsystem, said Bob Peach, president of Rand Federal LLC of Phoenix. Rand Federal is the integrator under a six-year contract with SGI and JPL.

The Onyx systems convert the high-resolution rover photos into 3-D images, which the drivers see through stereo goggles while sending motion commands to the rovers on the Martian surface.
Brian Cooper, lead rover driver at JPL, said he and his seven colleagues tell the rovers where to go and how to move their robotic arms. They study images the rovers have already collected and transmit a list of prioritized targets.

JPL programmers spent three-and-a-half years writing the program to see in 3-D. 'It's almost like standing on the surface of Mars,' Cooper said.

Because of the 10-minute delay between transmission and reception of commands, the drivers can't move the rovers in real time. Typically, JPL communicates with the rovers at least once per day, after building up command sequences and rehearsing motions.

The commands go in JPL's Rover Markup Language, an extension of Extensible Markup Language, Klemm said. The sequences of RML commands are packed into code blocks.

'The management of sequences has turned out to be a very big job on this project,' Klemm said.

NEXT STORY: GAO finishing up degrees audit

X
This website uses cookies to enhance user experience and to analyze performance and traffic on our website. We also share information about your use of our site with our social media, advertising and analytics partners. Learn More / Do Not Sell My Personal Information
Accept Cookies
X
Cookie Preferences Cookie List

Do Not Sell My Personal Information

When you visit our website, we store cookies on your browser to collect information. The information collected might relate to you, your preferences or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. However, you can choose not to allow certain types of cookies, which may impact your experience of the site and the services we are able to offer. Click on the different category headings to find out more and change our default settings according to your preference. You cannot opt-out of our First Party Strictly Necessary Cookies as they are deployed in order to ensure the proper functioning of our website (such as prompting the cookie banner and remembering your settings, to log into your account, to redirect you when you log out, etc.). For more information about the First and Third Party Cookies used please follow this link.

Allow All Cookies

Manage Consent Preferences

Strictly Necessary Cookies - Always Active

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data, Targeting & Social Media Cookies

Under the California Consumer Privacy Act, you have the right to opt-out of the sale of your personal information to third parties. These cookies collect information for analytics and to personalize your experience with targeted ads. You may exercise your right to opt out of the sale of personal information by using this toggle switch. If you opt out we will not be able to offer you personalised ads and will not hand over your personal information to any third parties. Additionally, you may contact our legal department for further clarification about your rights as a California consumer by using this Exercise My Rights link

If you have enabled privacy controls on your browser (such as a plugin), we have to take that as a valid request to opt-out. Therefore we would not be able to track your activity through the web. This may affect our ability to personalize ads according to your preferences.

Targeting cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Social media cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools.

If you want to opt out of all of our lead reports and lists, please submit a privacy request at our Do Not Sell page.

Save Settings
Cookie Preferences Cookie List

Cookie List

A cookie is a small piece of data (text file) that a website – when visited by a user – asks your browser to store on your device in order to remember information about you, such as your language preference or login information. Those cookies are set by us and called first-party cookies. We also use third-party cookies – which are cookies from a domain different than the domain of the website you are visiting – for our advertising and marketing efforts. More specifically, we use cookies and other tracking technologies for the following purposes:

Strictly Necessary Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Functional Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Performance Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Social Media Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Targeting Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.