-
Notifications
You must be signed in to change notification settings - Fork 5
Home
Welcome to the oop-flight-code wiki!
This code is structured based on Lodestar, a small scale electric demonstrator for the belly-flop and tail-sitting control algorithms necessary for SpaceX's Starship.
Both ClockManager and TimedControlTask are from PAN.
The clang-format file is from this thread.
This file is comparable to a .ino file you would see in the Arduino IDE (notice setup and loop are exactly the same as they would be in an Arduino file).
The MainControlLoop initializes and executes every monitor and control task.
The CubeSat has different modes with distinct entrance and exit conditions. MissionManager sets which mode the CubeSat should be in based on these exit/entrance conditions. Please see the Mission Modes page for more details.
SFR stands for State Field Registry. It contains the mode of each system, all sensor values, and universal flags that should be available to the entire CubeSat.
Control tasks are any file that actuates/performs a task based on a value in the SFR.
Monitors simply read input from sensors and update the sensor values in the SFR.
Constants contains values that will never be changed. This prevents "magic numbers".