Processes
In-flight processes handled by the core daemon
Description
These aspects of pFS
are Threads
that are controlled by core
and affect pFS
as a system.
process functions are either stored within a submodule
or in core/processes.py
. If the process is in core/processes.py
that means it is not specific to any one submodule
at all.
All Thread
objects are managed using the ThreadHandler
class. Read more about ThreadHandler
here.
Threads
The following processes are managed by core
and affect pFS
as a system.
Power Monitoring
This process continuously queries eps
for the current power level and switches the current Mode
accordingly. This process switches Mode
by calling core.enter_normal_mode
or core.enter_low_power_mode
respectively.
Power Watchdog
Telemetry Dump
This process is a Timer
object instead of a ThreadHandler
object. Every 60 minutes(defined in config_default.yml
), this core
Timer
will call telemetry.dump
. This method clears the telemetry
message stacks and sends them through the APRS
radio.
Telemetry Heartbeat
This process is a Timer
object instead of a ThreadHandler
object. Every 60 minutes(defined in config_default.yml
), this core
Timer
will call telemetry.heartbeat
. This method sends an "I'M ALIVE" message through the Iridium
radio.
Last updated