55 class
Trigger Top(wpi::EventLoop* loop = CommandScheduler::GetInstance()
56 .GetDefaultButtonLoop()) const;
A declarative way to bind a set of actions to a loop and execute them when the loop is polled.
Definition EventLoop.hpp:15
Handle input from standard Joysticks connected to the Driver Station.
Definition Joystick.hpp:22
CommandGenericHID(int port)
Construct an instance of a device.
wpi::Joystick & GetHID()
Get the underlying GenericHID object.
class Trigger Top(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs an event instance around the top button's digital signal.
double GetMagnitude() const
Get the magnitude of the vector formed by the joystick's current position relative to its origin.
class Trigger Trigger(wpi::EventLoop *loop=CommandScheduler::GetInstance().GetDefaultButtonLoop()) const
Constructs an event instance around the trigger button's digital signal.
CommandJoystick(int port)
Construct an instance of a controller.
wpi::units::radian_t GetDirection() const
Get the direction of the vector formed by the joystick and its origin.
static CommandScheduler & GetInstance()
Returns the Scheduler instance.
Definition CommandNiDsStadiaController.hpp:15
Definition CvSource.hpp:15