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

https://github.com/first-rust-competition/ctre-rs

CTRE Phoenix libraries for Rust
https://github.com/first-rust-competition/ctre-rs

ctre frc rust

Last synced: about 2 months ago
JSON representation

CTRE Phoenix libraries for Rust

Awesome Lists containing this project

README

        

# CTRE Phoenix library for Rust
This crate contains a port of the high-level CTRE Phoenix library.

This project is not affiliated with nor endorsed by Cross the Road Electronics.

## What is this `gen` directory?
The `gen` directory holds a couple of files that helped generate a starting point for everything.

The `gen_rust.j2` and `hooks.py` were used with [header2whatever](https://github.com/virtuald/header2whatever)
to quickly generate the initial modules.

## How do I actually use this?
Add [`ctre`](https://crates.io/crates/ctre) as a dependency in your Cargo.toml.

## Does this actually work?
It builds and links when linking with the WPILib HAL, so it should work.
¯\\\_(ツ)\_/¯

## License
CTRE-derived parts are under the [Phoenix Software License Agreement](LICENSE).
Rust-specific parts are under the [MIT license](LICENSE-MIT).