peter9477 / ctre-rs

CTRE Phoenix libraries for Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 to quickly generate the initial modules.

How do I actually use this?

Add 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. Rust-specific parts are under the MIT license.

About

CTRE Phoenix libraries for Rust

License:Other


Languages

Language:Rust 65.9%Language:C++ 31.8%Language:C 1.6%Language:Python 0.7%