scenarioCentralBody#

Overview#

This script sets up a basic spacecraft in orbit about Earth. One option uses earth.isCentralBody = True and the other uses isCentralBody = False. The nuances of spacecraft position and velocity I/O in these cases are demonstrated.

../_images/test_scenarioBasicOrbit.svg

The script is found in the folder xmera/examples and executed by using:

python3 scenarioCentralBody.py

Note

This script is a good reference for configuring the following modules:

Illustration of Simulation Results#

Running this example script will yield the following results.

show_plots = True, useCentral = False
_images/Scenarios/scenarioCentralBody10.svg
_images/Scenarios/scenarioCentralBody20.svg
show_plots = True, useCentral = True
_images/Scenarios/scenarioCentralBody11.svg
_images/Scenarios/scenarioCentralBody21.svg