MissionLibrary

The GMAT Mission Library contains example mission scripts that you can download and play with. Some model entire real-world missions, while others serve as examples for specific functionality.

We want your help! To contribute a script, create a new wiki page for it and paste your script into the page. Then add a section below that links to that page and has a short description of the example.

Examples

Configuring a 3D Model

Download: Ex_Basic3DModel.script (external link)
Included with GMAT

Double Lunar Swingby

Download: Ex_DoubleLunarSwingby.script (external link)
Included with GMAT

Finite Burn

Download: Ex_FiniteBurn.script (external link)
Included with GMAT

Force Models

Download: Ex_ForceModels.script (external link)
Included with GMAT

Geosynchronous Transfer

Download: Ex_GEOTransfer.script (external link)
Included with GMAT

GMAT Functions

Download: Ex_GMATFunction.script (external link)
Included with GMAT

Hohmann Transfer

Download: Ex_HohmannTransfer.script (external link)
Included with GMAT

Integrators

Download: Ex_Integrators.script (external link)
Included with GMAT

LEO Station Keeping

Download: Ex_LEOStationKeeping.script (external link)
Included with GMAT

Lunar Station Keeping

Download: Ex_LunarOrbitStationKeeping.script (external link)
Included with GMAT

Lunar Swingby

Download: Ex_MMSSingleLunarSwingby.script (external link)
Included with GMAT

Lunar Transfer

Download: Ex_LunarTransfer.script (external link)
Included with GMAT

Mars B-Plane Targeting

Download: Ex_MarsBPlane.script (external link)
Included with GMAT

Mars Orbiter

Download: Ex_MarsOrbit.script (external link)
Included with GMAT

Modeling a Constellation

Download: Ex_ConstellationScript.script (external link)
Included with GMAT
An example that models an entire constellation of spacecraft as a single object.

Nadir-Pointing Spacecraft

Download: Ex_Attitude_NadirPointing.script (external link)
Included with GMAT
A simple Earth orbiter example that demonstrates a nadir-pointing orientation

Rendezvous Safety Ellipse

Download: Ex_SafetyEllipse.script (external link)
Included with GMAT

Reporting Attitude in Modified Rodriquez Parameters

Download: Ex_Attitude_ModifiedRodriquezParameters.script (external link)
Included with GMAT
A simple Earth orbiter example that demonstrates reporting attitude parameters as Modified Rodriquez Parameters

Script Math

Download: Ex_Cart2KepMathTest.script (external link)
Included with GMAT

Script Programming

Download: Ex_ControlFlow.script (external link)
Included with GMAT

Setting Attitude in an Inertial Frame

Download: Ex_Attitude_Inertial.script (external link)
Included with GMAT
A simple Earth orbiter example that demonstrates setting a fixed inertial attitude

Setting Attitude in a VNB Frame

Download: Ex_Attitude_VNB.script (external link)
Included with GMAT
A simple Earth orbiter example that demonstrates setting the spacecraft attitude in the Velocity-Normal-BiNormal (VNB) frame.

Spinner

Download: Ex_Attitude_Spinner.script (external link)
Included with GMAT
A simple Earth orbiter example that demonstrates a spinning spacecraft

Sun-Earth L2 Halo Orbit

Download: Ex_L2Design.script (external link)
Included with GMAT

Sun-Earth Libration Point Station Keeping

Download: Ex_LibrationPointStationKeeping_ESM.script (external link)
Included with GMAT

Missions

LCROSS

Download: Ex_LCROSSTrajectory.script (external link)
Included with GMAT

toolbox

Print

GMAT Help [toggle]

Wiki Tools [toggle]

Quick Edit a Wiki Page