public final class ActuateIntakePiston
extends edu.wpi.first.wpilibj.command.Command
| Modifier and Type | Field | Description |
|---|---|---|
private HardwareStates.IntakePistonState |
pistonState |
The state to put the piston in.
|
| Constructor | Description |
|---|---|
ActuateIntakePiston(HardwareStates.IntakePistonState pistonState) |
Constructs a new
ActuateIntakePiston command. |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
execute() |
Actuates the intake piston to the desired state.
|
protected boolean |
isFinished() |
Command returns true after actuating the piston.
|
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.IntakePistonState pistonState
public ActuateIntakePiston(HardwareStates.IntakePistonState pistonState)
ActuateIntakePiston command.pistonState - The state to put the piston in.protected void execute()
execute in class edu.wpi.first.wpilibj.command.Commandprotected boolean isFinished()
isFinished in class edu.wpi.first.wpilibj.command.Command