Configuration
Description of the configuration file
Configuration
The configuration file syntax is YAML. Learn more about YAML here.
Each submodule
and core
has a key at the parent level. All children values are specific to that parent.
Here are the important aspects ofconfig.yml
Core
core/modules
is a list of listscore/modules/A
is a list of submodule names that are essentially APIs and can be started without a requisite amount of power.core/modules/B
is a list of submodule names that only need to be started onceantenna_deployer
is the only submodule listed under 'B' forantenna_deployer
only needs to be started on the first boot of the satellite
core/modules/C
is a list of submodule names that can only be started after a requisite amount of power has been determined
core/dump_interval
time interval(in seconds) on whichcore
initializes a telemetry dumpcore/sleep_interval
time interval(in seconds) on whichpFS
has to sleep and conduct no operations under mandatory regulations
[submodule_name]/depends_on
depends_on
contains a list of submodule names on which the parentsubmodule
needs to have a reference toFor example,
telemetry
needs to have a reference toaprs
so that it can send messages. Thereforeaprs
is undertelemetry/depends_on
Notice that:
All submodules require a reference to
telemetry
The
command_ingest
submodule has a reference to all othersubmodules
core:
modules:
A:
- eps
- command_ingest
B:
- antenna_deployer
C:
- aprs
- iridium
- telemetry
dump_interval: 3600
heartbeat_interval: 3600
sleep_interval: 1800
antenna_deployer:
depends_on:
- telemetry
ANT_1: 0
ANT_2: 1
ANT_3: 2
ANT_4: 3
aprs:
depends_on:
- telemetry
serial_port: /dev/ttyUSB0
telem_timeout: 70
message_spacing: 1
command_ingest:
depends_on:
- antenna_deployer
- aprs
- eps
- iridium
- telemetry
eps:
depends_on:
- telemetry
looptime: 20
iridium:
depends_on:
- telemetry
serial_port: /dev/ttyUSB0
telemetry:
depends_on:
- command_ingest
buffer_size: 100
max_packet_size: 170
Last updated
Was this helpful?