public final class ShiftIntake
extends edu.wpi.first.wpilibj.command.Command
| Modifier and Type | Field | Description |
|---|---|---|
private HardwareStates.IntakeShiftState |
pistonState |
The state to shift the intake piston to.
|
| Constructor | Description |
|---|---|
ShiftIntake(HardwareStates.IntakeShiftState pistonState) |
Constructs a new
ShiftIntake command. |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
execute() |
Shifts the intake to the desired state.
|
protected boolean |
isFinished() |
Command completes after shifting the intake.
|
cancel, clearRequirements, doesRequire, end, getGroup, initialize, initSendable, interrupted, isCanceled, isCompleted, isInterruptible, isRunning, isTimedOut, requires, setInterruptible, setRunWhenDisabled, setTimeout, start, timeSinceInitialized, toString, willRunWhenDisabledclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprivate HardwareStates.IntakeShiftState pistonState
public ShiftIntake(HardwareStates.IntakeShiftState pistonState)
ShiftIntake command.pistonState - The state to shift the intake piston to.protected void execute()
execute in class edu.wpi.first.wpilibj.command.Commandprotected boolean isFinished()
isFinished in class edu.wpi.first.wpilibj.command.Command