Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

A minimal clone of PSAS av3-fc rocket flight computer executive written in Rust
https://github.com/natronics/rust-fc

example flight-controller rocket-science rust

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

Rust Flight Computer
====================

![Language: Rust](https://img.shields.io/badge/language-Rust-red.svg)
[![Build Status](https://travis-ci.org/natronics/rust-fc.svg?branch=master)](https://travis-ci.org/natronics/rust-fc)

A minimal clone of PSAS's [av3-fc][av3fc] 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][installrust] 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](simulation/README.markdown) 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:

[av3fc]: https://github.com/psas/av3-fc
[installrust]: https://www.rust-lang.org/downloads.html