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/modulesis a list of listscore/modules/Ais a list of submodule names that are essentially APIs and can be started without a requisite amount of power.core/modules/Bis a list of submodule names that only need to be started onceantenna_deployeris the only submodule listed under 'B' forantenna_deployeronly needs to be started on the first boot of the satellite
core/modules/Cis a list of submodule names that can only be started after a requisite amount of power has been determined
core/dump_intervaltime interval(in seconds) on whichcoreinitializes a telemetry dumpcore/sleep_intervaltime interval(in seconds) on whichpFShas to sleep and conduct no operations under mandatory regulations
[submodule_name]/depends_ondepends_oncontains a list of submodule names on which the parentsubmoduleneeds to have a reference toFor example,
telemetryneeds to have a reference toaprsso that it can send messages. Thereforeaprsis undertelemetry/depends_onNotice that:
All submodules require a reference to
telemetryThe
command_ingestsubmodule 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: 170Last updated
Was this helpful?