Skip to content
Rust Makefile Shell Dockerfile Other
Branch: master
Clone or download
Lytigas Merge pull request #67 from auscompgeek/patch-1
can: Constrain device_id type
Latest commit 4624696 Jul 2, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.ci
.vscode
cargo-frc
hal-gen
wpilib-examples
wpilib-sys
wpilib can: Use lossless .into() conversions Jun 28, 2019
.dockerignore
.gitattributes Add a quickstart zip Aug 26, 2018
.gitignore
.gitmodules
.travis.yml
Cargo.toml
Dockerfile
LICENSE-APACHE Relicense under dual MIT/Apache2.0 (#16) Oct 18, 2018
LICENSE-MIT
README.md Update READMEs, instructions, and quickstart.zip Apr 17, 2019
makefile Use single-level makefile Jan 11, 2019
publish.sh
quickstart.zip

README.md

FIRST Rust Competition

Build Status Crates.io Docs.rs

A monorepo for wpilib for programming FRC robots and cargo-frc for deploying said code. Currently a pre-alpha WIP.

Getting Started

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.

Building

Verify you can build wpilib, (see its README) 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 build requirements, see the Dockerfile used for Travis CI.

License

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.

You can’t perform that action at this time.