A class containing static Trigger factories for running callbacks when robot mode changes.
Definition: RobotModeTriggers.h:15
static Trigger Test()
Returns a trigger that is true when the robot is enabled in test mode.
RobotModeTriggers()=delete
static Trigger Disabled()
Returns a trigger that is true when the robot is disabled.
static Trigger Teleop()
Returns a trigger that is true when the robot is enabled in teleop mode.
static Trigger Autonomous()
Returns a trigger that is true when the robot is enabled in autonomous mode.
This class provides an easy way to link commands to conditions.
Definition: Trigger.h:31
Definition: TrapezoidProfileSubsystem.h:12