Skip to content

cornellrocketryteam/Flight-Software

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flight-Software

Flight software for Andromeda, a student-designed hybrid-propellant rocket. Handles parachute deployment, valve actuation, data collection, and telemetry. Also serves as a platform for the BLiMS project.

Confluence

Getting Started

Required dependencies

  • cmake
  • gcc-arm-embedded (for macOS)
  • gcc-arm-none-eabi (for Linux)

Optional dependencies

  • doxygen: For documentation generation
  • clang-format: For formatting code

These dependencies can be install via Homebrew on macOS or apt on WSL.

Setup

  1. Install the required dependencies
  2. Run git submodule update --init from within lib/
  3. Run git submodule update --init from within lib/pico-sdk/

Running

Build options

By default, FSW builds in LAUNCH mode. There are 2 build options you can set:

  • VERBOSE: Displays state information over serial. FSW will only start running once a serial connection is made.
  • SIM: FSW will execute a simulated flight path once the launch command is sent.

You can set these options in CMakeLists.txt. The executable name will change based on which build option(s) are set: fsw, fsw_verbose, fsw_sim, or fsw_sim_verbose.

Building

  1. (First-time setup only) Create a top-level build/ directory
  2. (First-time setup only) Run cmake .. from within build/
  3. Set build options (see above)
  4. Run make
  5. Move the generated uf2 file to a Pico in boot select mode

You can also run make upload to automatically make and move the uf2 to a Pico in boot select mode

Contributing

  1. Create a new branch with git checkout -b YOUR_BRANCH_NAME
  2. Make some changes!
  3. Make sure to run format.sh
  4. Open a new pull request

About

Flight Software for the Cornell Rocketry Team

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •