Package frc.robot.operator
Class OperatorStates
java.lang.Object
frc.robot.operator.OperatorStates
This class should have any command calls that directly call the Operator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static edu.wpi.first.wpilibj2.command.Command
log
(edu.wpi.first.wpilibj2.command.Command cmd) static edu.wpi.first.wpilibj2.command.Command
rumble
(double intensity, double durationSeconds) Command that can be used to rumble the operator controllerstatic void
Set the states for the operator controllerstatic void
Set default command to turn off the rumble
-
Constructor Details
-
OperatorStates
public OperatorStates()
-
-
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 operator controller -
rumble
public static edu.wpi.first.wpilibj2.command.Command rumble(double intensity, double durationSeconds) Command that can be used to rumble the operator controller -
log
protected static edu.wpi.first.wpilibj2.command.Command log(edu.wpi.first.wpilibj2.command.Command cmd)
-