Package frc.robot.operator
Class Operator
java.lang.Object
frc.spectrumLib.gamepads.Gamepad
frc.robot.operator.Operator
- All Implemented Interfaces:
edu.wpi.first.wpilibj2.command.Subsystem,SpectrumSubsystem
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class frc.spectrumLib.gamepads.Gamepad
Gamepad.Config, Gamepad.Threshold -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Triggerfinal Triggerfinal Triggerfinal Triggerfinal Triggerfinal Triggerfinal Triggerfinal Triggerfinal Triggerfinal TriggerFields inherited from class frc.spectrumLib.gamepads.Gamepad
A, autoMode, B, bothBumpers, bothTriggers, disabled, downDpad, kFalse, leftBumper, leftBumperOnly, leftDpad, leftStickClick, leftStickCurve, leftStickX, leftStickY, leftTrigger, leftTriggerOnly, noBumpers, noModifiers, noTriggers, rightBumper, rightBumperOnly, rightDpad, rightStickClick, rightStickCurve, rightStickX, rightStickY, rightTrigger, rightTriggerOnly, select, start, teleop, testMode, triggersCurve, upDpad, X, Y -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublevoidSet up the default command for this subsystem.voidSet up the states and triggers for this subsystem.Methods inherited from class frc.spectrumLib.gamepads.Gamepad
chooseCardinalDirections, configure, getBlueAllianceStickCardinals, getHID, getLeftStickCardinals, getLeftStickCurve, getLeftStickDirection, getLeftStickMagnitude, getLeftTriggerAxis, getLeftX, getLeftY, getRedAllianceStickCardinals, getRightStickCardinals, getRightStickCurve, getRightStickDirection, getRightStickMagnitude, getRightTriggerAxis, getRightX, getRightY, getRumbleHID, getTriggersCurve, getTwist, isConnected, leftStick, leftXTrigger, leftYTrigger, periodic, resetConfig, rightStick, rightXTrigger, rightYTrigger, rumbleCommand, rumbleCommand, rumbleCommand, rumbleControllerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.wpi.first.wpilibj2.command.Subsystem
defer, getCurrentCommand, getDefaultCommand, getName, idle, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, simulationPeriodic, startEnd, startRun
-
Field Details
-
enabled
-
fn
-
noFn
-
home_select
-
AButton
-
BButton
-
XButton
-
YButton
-
coastOn_dB
-
coastOff_dA
-
-
Constructor Details
-
Operator
-
-
Method Details
-
setupStates
public void setupStates()Description copied from interface:SpectrumSubsystemSet up the states and triggers for this subsystem. This is typically used to bind commands to SpectrumState triggers. -
setupDefaultCommand
public void setupDefaultCommand()Description copied from interface:SpectrumSubsystemSet up the default command for this subsystem. This command will run when no other command is using this subsystem. -
getClimberTriggerAxis
public double getClimberTriggerAxis()
-