Crates.io | arfur |
lib.rs | arfur |
version | 0.0.2 |
source | src |
created_at | 2022-09-21 22:52:44.332461 |
updated_at | 2022-11-04 18:54:28.600886 |
description | A set of bindings and a framework that builds on top of the WPILib suite, enabling Rust-based robot programs in FRC. |
homepage | |
repository | https://github.com/arfur-rs/arfur/ |
max_upload_size | |
id | 671217 |
size | 129,062 |
Arfur is a set of bindings and a framework that builds on top of the WPILib suite, enabling Rust-based robot programs in FRC.
use arfur::prelude::*;
fn main() -> Result<()> {
let robot: Robot = RobotBuilder::default().initialize()?;
// Having a `Robot` type is proof that the HAL has been initialized. We can
// use to construct all kinds of handles!
Ok(())
}
For now, sift through the crate's examples and documentation. There's much more to come!