FIRST Rust Competition
A monorepo for
wpilib for programming FRC robots and
cargo-frc for deploying said code. Currently a pre-alpha WIP.
Parts of this repository are designed to be compiled for a RoboRIO, the processor used in the FIRST Robotics Competition. To cross-compile your code and run Rust on your RoboRIO, follow the instructions in WPILib's README.
Examples can be found in wpilib-examples.
To deploy code you write using
wpilib, use cargo-frc.
A small project template is available in quickstart.zip.
Other Rust Projects
If you want to go further with Rust development for FRC, check out these other community projects:
- ctre-rs for functionality found in CTRE Phoenix.
- nt-rs for using NetworkTables.
- navx-rs for interfacing with Kauai Labs's gyroscope.
For a full list of build requirements, see the Dockerfile used for Travis CI.
The contents of this repository are distributed under the terms of both the MIT license and the Apache License (Version 2.0). By contributing, you agree to license your contribution under these terms.