#wpi-lib #hal #first #frc #robotics

nightly sys wpilib-hal

Low-level bindings to WPILib's HAL. DO NOT USE THIS YET. THIS IS JUST TO SECURE THE NAME.

1 unstable release

Uses old Rust 2015

0.1.1 Feb 17, 2017

#6 in #wpi-lib

MIT license

1MB
3.5K SLoC

wpilib-hal

This crate aims to create Rust bindings to the HAL using more idiomatic Rust design patterns.

Also see

Also be sure to check out a more mature (and probably cleaner) crate here. It has bindings to a bunch of WPILIB and some basic abstractions for programming robots

WPILibC and WPILibJ, and the library headers used in this crate are in this repo.

Current TODOs

  • Determine thread safety of functions
  • Serial IO

lib.rs:

This is a highly experimental crate providing bindings to WPILIB's HAL. This crate is not affiliated with FIRST, FRC, or National Instruments in any way

Dependencies

~4.5–7.5MB
~165K SLoC