Package frc.robot
Class RobotStates
java.lang.Object
frc.robot.RobotStates
-
Method Summary
Modifier and TypeMethodDescriptionstatic edu.wpi.first.wpilibj2.command.CommandapplyState(State state) static edu.wpi.first.wpilibj2.command.Commandstatic Statestatic voidDefine Robot States here and how they can be triggered States should be triggers that command multiple mechanism or can be used in teleop or auton Use onTrue/whileTrue to run a command when entering the state Use onFalse/whileFalse to run a command when leaving the state RobotType Triggers
-
Method Details
-
setupStates
public static void setupStates()Define Robot States here and how they can be triggered States should be triggers that command multiple mechanism or can be used in teleop or auton Use onTrue/whileTrue to run a command when entering the state Use onFalse/whileFalse to run a command when leaving the state RobotType Triggers -
applyState
-
clearState
public static edu.wpi.first.wpilibj2.command.Command clearState() -
getAppliedState
-