45 frc::EventLoop* loop =
56 class
Trigger Top(frc::EventLoop* loop = CommandScheduler::GetInstance()
57 .GetDefaultButtonLoop()) const;
A version of frc::GenericHID with Trigger factories for command-based.
Definition CommandGenericHID.h:19
A version of frc::Joystick with Trigger factories for command-based.
Definition CommandJoystick.h:19
class Trigger Top(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs an event instance around the top button's digital signal.
CommandJoystick(int port)
Construct an instance of a controller.
double GetMagnitude() const
Get the magnitude of the direction vector formed by the joystick's current position relative to its o...
units::radian_t GetDirection() const
Get the direction of the vector formed by the joystick and its origin.
frc::Joystick & GetHID()
Get the underlying GenericHID object.
static CommandScheduler & GetInstance()
Returns the Scheduler instance.
This class provides an easy way to link commands to conditions.
Definition Trigger.h:32
Handle input from standard Joysticks connected to the Driver Station.
Definition Joystick.h:23
Definition FunctionalCommand.h:13