Skip to content

A minimal clone of PSAS av3-fc rocket flight computer executive written in Rust

License

Notifications You must be signed in to change notification settings

natronics/rust-fc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Flight Computer

Language: Rust Build Status

A minimal clone of PSAS's av3-fc rocket flight computer executive process written in Rust for fun.

This is a toy, built for fun to learn the Rust language.

Building

You'll need the rust toolchain, check out the official Rust docs for help

To compile to program:

$ cargo build

Running

You can also use cargo to run the executable:

$ cargo run

This will start the flight computer, however it will do nothing until data is feed into it. There is a small python test utility in the test directory that will generate a data packet and send it to the running flight computer process.

Start rust-fc with the cargo run command, and then in another terminal run a simulation to send real-time data to the flight computer:

$ cd simulation
$ ./run.py

Be sure to read the README in the simulation folder to install the flight simulator and other dependencies.

Module Documentation

Build locally with

$ cargo doc

The pre-build docs are hosted here:

https://natronics.github.io/rust-fc/