30 :
Trigger([joystick, angle, povNumber] {
31 return joystick->
GetPOV(povNumber) == angle;
This class provides an easy way to link commands to conditions.
Definition: Trigger.h:35
Handle input from standard HID devices connected to the Driver Station.
Definition: GenericHID.h:24
int GetPOV(int pov=0) const
Get the angle in degrees of a POV on the HID.
Definition: ProfiledPIDCommand.h:18