Mission of the Rover
Curiosity landed on Mars on August 6, 2012. The rover was sent to Mars to find out if life existed here before. The rover landed in the Gale Crater - millions of years ago there was a sea on the site of the crater. At the bottom of the former sea, minerals remain that the rover is studying.
The rover weighs 900 kg and moves at speeds of up to 144 m/h. It is equipped with cameras, a set of remote sensing instruments, a spectrometer, a bucket for collecting soil, and a set of meteorological equipment.
Already in the first months of operation, the rover discovered traces of an ancient lake at the bottom of the crater. In 2014, the rover discovered traces of methane in the planet's atmosphere, which could indicate the existence of life on Mars.
Since 2012, the rover has traveled more than 25 km. For these 10 years, the robot has been studying the Martian soil, trying to find traces of the existence of life. Scientists from NASA report that the presence of life on Mars is possible, but there is no clear evidence yet.
System Architecture of the Rover
The Curiosity rover operates as a closed autonomous system. Surprisingly, the rover's processor specifications are modest compared to modern smartphones:
Processor frequency: 133 MHz;
128 MB RAM.
Any modern smartphone is tens of times more powerful than the rover's computer.
Here are the full specifications:
| MSL | |
| Radiation-hardened CPU | RAD750 (Power PC) |
| Clock Speed | 133 MHz |
| On-board RAM | 128 Mbytes |
| Real Time Operating | VxWorks 6.7 |
| Addressable Code RAM | 32 Mbytes |
| FSW + RTOS Code Size | 21 Mbytes |
| Additional RAM | 512 Mbytes SDRAM (half for RAMFS) |
| Per-Task Memory access | Shared Memory |
| C/Embedded C++ compiler | GCC 4.1.2 |
The rover's CPU is manufactured by BAE Systems Electronic Solutions and costs $200,000.
Software and Code of the Rover
The rover's code is primarily written in C++ and C. Initially, scientists used C for autonomous algorithms, including stereo vision, mapping, path planning, and visual odometry. However, after 2000, C++ became the primary language for rovers, as it proved more efficient for the development of autonomous algorithms.
The software for rover movement planning at NASA is also written in C++. The code, with 150 modules and 2.5 million lines, is a combination of C++ and C. Due to the mission-specific nature of the code, there's a significant amount of it, especially considering that some parts are used only once in specific mission phases.
The rover's chipset is programmed for reliability, aiming for a "blue screen" occurrence only once every 15 years. Two identical computers are installed on the rover to ensure redundancy.
The rover's operating system is VxWorks, a classical microkernel. It contains fewer than 10,000 lines of code, emphasizing isolation and reliability. Different rover components are isolated and function autonomously.
Remote Control from Earth
One of the rover's unique challenges is the vast distance between Mars and Earth. With a minimum distance of 55.76 million km and a maximum of 401 million km, radio signals take 22 minutes to travel one way. The rover communicates with Earth only once a day, relying on preprogrammed actions for much of its operations.
Actions are preplanned on Earth, with the rover rarely making autonomous decisions. In critical situations, the rover halts and awaits instructions from Earth. The rover's cameras create a 3D image, aiding operators in controlling the rover.
A virtual environment is created using specialized software to simulate the rover's surroundings and model its movements. Commands are modeled in this virtual space before being transmitted to the rover, ensuring predictability and preventing unexpected events.
In conclusion, the Curiosity rover employs the time-tested languages C and C++, prioritizing reliability and longevity in its software design for the harsh conditions of Mars rather than speed.