config.py

The configuration file contains most of the parameters required to define the spacecraft. These could be hardcoded within the other scripts that make up the Basic Satellite Template, however it is a good practice to keep these editable variables in an accessible place where changes can be made easily and consistently. Currently, the important information contained in the config.py file include the "PREFIX" for the channel that the Satellite will publish its messages to, parameters regarding the timing of your scenario. The "PREFIX" is currently set to "template", you will need to have this value set consistently among your constituent applications.

The other important parameter that you can change is the "name". The "name", currently "SUOMI NPP", will pull a spacecraft’s current TLEs from Celestrak to model the orbit. The spacecraft name must exactly match the name found on Celestrak, including the upper-case letters.

PARAMETERS = pd.Series(
    data={
        # Global parameters
        "PREFIX": "template",
        "SCALE": 60.0,
        "SCENARIO_START": datetime(2023, 1, 1, 7, 0, 0).timestamp(),
        "SCENARIO_LENGTH": 1,
        # Name of satellite for reference orbit from Celestrak database
        "name": "SUOMI NPP",
        # Satellite parameters
        "TLES": {},
        # Manager Parameters:
        "UPDATE": [],
    }
)