UCI-CubeSat / fprime-proto

FPrime Prototyping for RPi/Ubuntu. Only use on Ubuntu for Linux builds.

Home Page:https://nasa.github.io/fprime

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TestAntSat 📡

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.

Contents

Downloading Dependencies

The following dependencies must be installed to properly run this code:

First-Time Setup

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.

Make sure Docker Desktop is running on your machine before running anything below

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!

Running the Application

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

About

FPrime Prototyping for RPi/Ubuntu. Only use on Ubuntu for Linux builds.

https://nasa.github.io/fprime


Languages

Language:C++ 59.7%Language:Fortran 29.7%Language:CMake 7.5%Language:Shell 2.3%Language:Dockerfile 0.9%