Package frc.robot.pilot
Class PilotStates
java.lang.Object
frc.robot.pilot.PilotStates
This class should have any command calls that directly call the Pilot
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static Commandstatic Commandrumble(double intensity, double durationSeconds) Command that can be used to rumble the pilot controllerstatic voidSet the states for the pilot controllerstatic voidSet default command to turn off the rumblestatic CommandslowMode()Command that can be used to turn on the slow mode.static CommandCommand that can be used to turn on the turbo mode.
-
Field Details
-
buttonAPress
-
-
Constructor Details
-
PilotStates
public PilotStates()
-
-
Method Details
-
setupDefaultCommand
public static void setupDefaultCommand()Set default command to turn off the rumble -
setStates
public static void setStates()Set the states for the pilot controller -
rumble
Command that can be used to rumble the pilot controller -
slowMode
Command that can be used to turn on the slow mode. Slow mode modifies the fwd, left, and CCW methods, we don't want these to require the pilot subsystem arm -
turboMode
Command that can be used to turn on the turbo mode. Turbo mode modifies CCW methods, we don't want these to require the pilot subsystem -
log
-