XRPOnBoardIO

class xrp.XRPOnBoardIO

Bases: pybind11_object

This class represents the onboard IO of the XRP reference robot. This the USER push button and LED.

DIO 0 - USER Button (input only) DIO 1 - LED (output only)

getUserButtonPressed() bool

Gets if the USER button is pressed.

kMessageInterval = 1.0
property m_nextMessageTime wpimath.units.seconds
setLed(value: bool) None

Sets the yellow LED.