This project was auto-generated by the F' utility tool.
F´ (F Prime) is a component-driven framework that enables rapid development and deployment of spaceflight and other embedded software applications. Please Visit the F´ Website: https://nasa.github.io/fprime/.
git clone --recurse-submodules https://github.com/MelbourneSpaceProgram/OBC-deployment.git
- Install and run Docker
- VS code: Install the Dev Containers extension
- VS code: Open the cloned folder, CMD+shift+P (For Windows: Ctrl+Shift+P), type: Dev Containers: Reopen in Container
- VS code: After finishing building the container, create a new terminal in VS code
-
Work in the Docker container
-
In /OBC-deployment:
fprime-util generate
fprime-util build
- In /OBC-deployment/Deployment
fprime-util generate
fprime-util build
-
Open F' GDS control page
In /OBC-deployment/Deployment
fprime-gds
-
Work in the Docker container
-
In /OBC-deployment:
fprime-util generate
fprime-util build
- In /OBC-deployment/Deployment
fprime-util generate raspberrypi
fprime-util build raspberrypi
-
Connect the board and the ground station computer to the same network
-
Open F' GDS control page
In /OBC-deployment/Deployment (do not run in vs code terminal)
fprime-gds -n --dictionary build-artifacts/raspberrypi/Deployment/dict/DeploymentTopologyAppDictionary.xml
- Copy executable over to the board's home directory in /OBC-deployment/Deployment
scp build-artifacts/raspberrypi/Deployment/bin/Deployment <USER_ACCOUNT>@<RASPBERRY_PI_IP_ADDRESS>:~
- Running executable on the raspberry pi
ssh <USER_ACCOUNT>@<RASPBERRY_PI_IP_ADDRESS>
./Deployment -a <GROUND_STATION_COMPUTER_IP> -p 50000
For detailed tutorials, refer to
HelloWorld Tutorial: https://github.com/fprime-community/fprime-tutorial-hello-world/blob/main/docs/HelloWorld.md
MathComponent Tutorial (Custom Ports and Types): https://nasa.github.io/fprime/Tutorials/MathComponent/Tutorial.htmlhttps://nasa.github.io/fprime/v2.0.0/Tutorials/MathComponent/Tutorial.html