Skip to main content
The AIG web pages make heavy use of cascading style sheet features for formatting. You may still browse the text of the site, but for best results, please use a CSS enabled browser. Netscape 6 and Mozilla 5 are good. IE 5 will do.

JPL Header

Navigation Sidebar

Main Content

CL 18-4597



MEXEC is lightweight, multi-mission flight software for activity scheduling and execution developed to increase the autonomy and efficiency of a robotic explorer. MEXEC was first created as a prototype demonstration for the Europa Clipper project as a potential solution to fail-operational requirements. Specifically, the Europa project is concerned with the radiation environment around Jupiter which can trigger on-board computer resets at critical times of the mission (e.g. during Europa flybys). If a CPU reset occurs, flight software must bring the spacecraft back to a safe state and resume science operations as quickly as possible to minimize science loss. The MEXEC prototype flight software was developed to provide such a capability using proven AI planning, scheduling, and execution technologies. Instead of command sequences, MEXEC works with task networks, which include abstract representations of command behavior, constraints on timing, and resources required and/or consumed by the behavior. Using this knowledge on-board, MEXEC can monitor command behavior and react to off-nominal outcomes (e.g. CPU reset), reconstructing command sequences to continue spacecraft operations without jeopardizing spacecraft safety.

AI Technology

creating tasks as required to support other tasks or goals
assigning task execution times that do not violate constraints and resources
starting, delaying, monitoring, and halting task execution as needed to prevent constraint violations


In general, the objective of many JPL missions is to collect and return as much science as possible. On-board planning, scheduling, and execution technology, such as MEXEC, can help with this by keeping the vehicle busy collecting science even after an unexpected state is observed, without waiting for direction from operators on the ground.


MEXEC is under active development with funding provided by the 3x System Level Autonomy RTD Strategic Initiative. The MEXEC software components have been integrated into both the FSWCore and F' (formerly ISF) flight software architectures. The MEXEC timeline module is being developed and maintained by the Mars 2020 Mission as part of the On-Board Planner (OBP).


MEXEC is made up of three components: the planner, the executive, and the timeline library. The planner is responsible for selecting tasks to include in the plan, and selecting specific times for executing those tasks. The executive is responsible for executing each task at its scheduled time, delaying task execution when constraints are not met, monitoring a task while it executes, and aborting a task if constraints fail during execution. Finally, the timeline library is used by the planner to help it select valid execution times for the tasks. Actual resource and state values are merged with expected changes from planned tasks in order to validate task constraints. MEXEC context diagram




Point of Contact: Gregg Rabideau
Martina Troesch
Software Licensing: