The Flight Computer Template (FTC) is meant to be a simplified version of the much beloved MARTHA 1.4 and JEM 1.0, which happens to be the initial source of FTC, that allows software engineers to springboard their rocketry software for certification computers, Clemson Tiger Takeoff (TTO), and personal projects. Implemented with platform.io, the FTC is able to store all of your required sensors, microcontrollers, and other programmable components in a constantly updated form. In addition to this, the FTC is able to call upon the functions from the Avionics repository, which allows many useful additions and unique ways of data gathering.
- Start by heading to the CURocketEngineering GitHub organization
- Click on "New" to make your own repository.

- Give your repo a name using title case and hyphens, such as "My-Flight-Computer".
- Make the repo public
- Select "Flight-Computer-Template" as the template repository.

- Finally, click "Create Repository" at the bottom.
Now that you have a repo, we need to clone it locally and set up your workspace.
- Download Git: https://git-scm.com/downloads
- After you finish the download and setup, type
gitin your terminal to see if it's recognized - We use GitHub to version control all of our code on the cloud
- Git is the program to copy the remote code locally and push edits up to the cloud
- After you finish the download and setup, type
- Download VS Code: https://code.visualstudio.com/
- VS Code is our IDE of choice because of integration with PlatformIO IDE, popularity, and widespread usage in industry.
- Install PlatformIO Extension: https://platformio.org/install/ide?install=vscode
- Clone your repo by heading to your repo on GitHub and clicking the green "Code" button, then copying the URL.

- In the terminal of your choice, navigate to the directory you want to clone the repo in and type
git clone <paste the URL here>. This will create a local copy of the repo on your computer. - Open the cloned repo in VS Code by typing
code <repo name>in the terminal. This will open the repo in VS Code. - If PlatformIO is installed, it should automatically detect the
platformio.inifile and begin initializing the workspace. This may take a few minutes as it downloads the necessary libraries and toolchains.
To integrate our Avionics library directly into your project, utilize git submodules via the following commands:
git submodule add https://github.com/CURocketEngineering/Avionics.git lib/Avionics
git submodule init
git submodule updateIf you are on Windows and do not have the GCC toolchain installed, you can follow the directions from VS Code.
If you need Python, you can download a Windows installer from the Python website. Make sure to check the box that says "Add Python to PATH" during installation. After installation, you can verify that Python is installed by typing python --version in your terminal.
Our Guide Repo has more directions on setting up PlatformIO and using it to build and upload code to your microcontroller. You can also contact the #engr-software team on Slack.
The MARTHA 1.4 project utilizes the same setup as the FTC, you can reference it for examples of Avionics usage.
Most of the code you'll need to write will be in the src/main.cpp file.
You can also add additional .cpp files to src and headers to include for organization. For example, we put a include/pins.h file in the template to store all of our pin definitions.
You can also add additional libraries to the platformio.ini file, and include them in your code.