arfur 0.0.2

A set of bindings and a framework that builds on top of the WPILib suite, enabling Rust-based robot programs in FRC.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use arfur_wpilib::prelude::*;

fn main() -> Result<()> {
    let _robot = RobotBuilder::default().initialize()?;
    println!("Initialized successfully.");

    // That's it - it's that simple! However, if you try running this on a RIO
    // right now, the robot code light will be red. Read ./spawn_observer.rs to
    // understand why.

    // We could choose to return Ok(()) here, but let's loop instead. This will
    // keep our program running.
    loop {}
}