#robotics #first #frc

ds

A library for controlling FIRST Robotics Competition robots

23 releases (9 stable)

1.2.4 Aug 23, 2020
1.1.1 Mar 16, 2020
1.0.1 Dec 23, 2019
0.3.4 Dec 17, 2019
0.2.0 Dec 30, 2018

#6 in #frc

MIT/Apache

58KB
1.5K SLoC

Version badge

ds: A library for controlling FIRST Robotics Competition robots

ds provides the means to create an FRC driver station, allowing you to enable, and control robots without the use of the official, windows-only driver station.

For a project written using this library, see Conductor, a cross-platform driver station written with this library.

The libDS subdirectory is a crate exposing a C API around ds-rs.

This library requires building on a nightly compiler.


lib.rs:

ds

ds is a library that allows for control of FIRST Robotics Competition robots. The protocol supported currently is that of the 2018 season, with only the bare minimum required to control the robot currently consumed. Diagnostic and telemetry information is not decoded and is discarded

The core trait for use of the crate is the DriverStation crate. This crate provides an API for connecting and controlling to the roboRIO in an FRC robot. It also allows for users to provide joystick input using arbitrary APIs, and to consume any incoming TCP packets.

Dependencies

~7MB
~112K SLoC