Welcome to the repository hosting code for testing NASA's F' Flight Software and Embedded Systems Framework (Link Here) for UCI CubeSat
Here's a short guide on how to get started and get to work with this repository.
The following dependencies must be installed to properly run this code:
git 2.44.0+
Docker CLI
- For Mac Users, run:
brew install docker
- For Linux Users, run:
sudo apt-get install docker
- For Windows Users, run the
sudo
command in WSL
- For Mac Users, run:
Docker Desktop
This repository contains quickstart scripts to simplify setup. These scripts run natively on MacOS and Linux, but require WSL for windows. See the points under "Docker CLI" to install.
To set up the app on your local machine, do the following:
git clone https://github.com/UCI-CubeSat/fprime-proto.git
# and
cd fprime-proto
# and
./Scripts/setup.sh
This will set up the Docker container. Once that is complete, type exit
in the prompted shell, so you can leave the container locally.
Next, install the Microsoft Remote Development VSCode extension, so you can edit files on the Docker container without Vim.
Next, we will restart the Docker container now that it is set up.
./Scripts/start.sh
Once that is done, click the icon that looks like a stacked ><
at the very bottom left of your VSCode window, then click Attach to Running Container
, then click the fpp-config
container.
Once you're in, make sure you are in the /usr/src/fprime-proto
directory (if not, just click Open Folder
and go there), then you can run
./Scripts/build.sh
to make sure that the application can be built on your computer!
Nice work, you're done setting up Docker!
Run Docker Desktop, and then ./Scripts/start.sh
, and attach the running container to VSCode, and you're in!
F' is a large framework, so there's a lot here to tackle. For best information on generating new components, deployments, Ground Station configurations, and more, refer to the official F' website.
One thing to know is you can always run the F' Ground Station (GDS) by doing the following command in a deployment directory:
fprime-gds