Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/first-rust-competition/first-rust-competition
Rusty Robots: https://crates.io/crates/wpilib and https://crates.io/crates/cargo-frc
https://github.com/first-rust-competition/first-rust-competition
first-robotics-competition frc rust wpilib
Last synced: 3 months ago
JSON representation
Rusty Robots: https://crates.io/crates/wpilib and https://crates.io/crates/cargo-frc
- Host: GitHub
- URL: https://github.com/first-rust-competition/first-rust-competition
- Owner: first-rust-competition
- License: apache-2.0
- Created: 2018-04-27T15:50:26.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-09-18T09:27:57.000Z (over 2 years ago)
- Last Synced: 2024-10-29T22:45:28.845Z (3 months ago)
- Topics: first-robotics-competition, frc, rust, wpilib
- Language: Rust
- Homepage:
- Size: 2.56 MB
- Stars: 70
- Watchers: 11
- Forks: 16
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# FIRST Rust Competition
[![Build Status](https://travis-ci.com/first-rust-competition/first-rust-competition.svg?branch=master)](https://travis-ci.com/first-rust-competition/first-rust-competition)
[![Crates.io](https://img.shields.io/crates/v/wpilib.svg)](https://crates.io/crates/wpilib/)
[![Docs.rs](https://docs.rs/wpilib/badge.svg)](https://docs.rs/wpilib)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](http://sine.ni.com/nips/cds/view/p/lang/en/nid/213308), 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](wpilib/README.md).Examples can be found in [wpilib-examples](wpilib-examples).
To deploy code you write using `wpilib`, use [cargo-frc](cargo-frc).
A small project template is available in [quickstart.zip](quickstart.zip).
## Other Rust Projects
If you want to go further with Rust development for FRC, check out these other community projects:
- [ctre-rs](https://github.com/auscompgeek/ctre-rs) for functionality found in CTRE Phoenix.
- [nt-rs](https://gitlab.com/Redrield/nt-rs) for using NetworkTables.
- [navx-rs](https://github.com/Eaglestrike/navX-rs) for interfacing with Kauai Labs's gyroscope.## Building
Verify you can build `wpilib`, (see its [README](wpilib/README.md)) then run `make all`. `cargo-frc` should build out of the box, but you should `cargo install` it
to [use it properly](cargo-frc/README.md).For a full list of build requirements, see the [Dockerfile](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-APACHE), [LICENSE-MIT](LICENSE-MIT), for details.