[−][src]Crate ds
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.
Structs
Alliance | Struct abstracting the byte value for alliance colour and position |
Countdown | Tag containing the time remaining in the current mode |
DateTime | Tag containing the current date and time in UTC |
DriverStation | Represents a connection to the roboRIO acting as a driver station |
ErrorMessage | |
Joysticks | Tag containing values from joysticks |
Stdout | Contains data outputted to standard output from robot code. Can be consumed by API users to display code logs |
Timezone | Tag containing the current timezone of the RIO |
Enums
JoystickValue | Enum representing a value from a Joystick to be transmitted to the roboRIO |
Mode | Represents the current Mode that the robot is in. the |
TcpPacket | Enum containing possible incoming TCP packets from the roboRIO |
UdpTag | Enum wrapping possible outgoing UDP tags |
Type Definitions
Result |