Flight Software for the SAMWISE ADCS board
For the latest build products, check actions -> C build -> samwise-adcs-products.zip
.
Follow the flight software onboarding doc for development environment setup.
Run source configure.sh
for initial repository setup.
Note: Only Mac and Linux are supported. If you are on Windows, create a Linux VM
Enter the build
folder:
cd build
Run cmake
(Note: this is usually only necessary if you have added, moved, or deleted files):
cmake ..
Make the project:
make -j8
Only on Mac:
cp samwise-adcs.uf2 /Volumes/RP2350
Follow instructions here for how to drag the .uf2
file onto your device.
- Bdot for detumbling
- Attitude determination
- Determine triad from magnetic field and sun vector
- Magnetic field model
- Sun vector
- Propagator
- Kalman filter
- Determine triad from magnetic field and sun vector
- Control
- Total torque control
- Allocation of control to wheels/magnetorquers
- Deasturation of reaction wheels