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 for RoboRIO, you have to do a few things. Detailed instructions can be found in WPILib's README.
Examples can be found in wpilib-examples.
To deploy code you write using wpilib
, use cargo-frc.
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.
Verify you can build wpilib
, then run make all
. cargo-frc
should build out of the box, but you should cargo install
it
to use it properly.
For a full list of 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.
See LICENSE-APACHE, LICENSE-MIT, for details.