public final class IntakeColorChanger
extends edu.wpi.first.wpilibj.command.Command
| Constructor | Description |
|---|---|
IntakeColorChanger() |
Constructs a new
IntakeColorChanger command that requires the intake subsystem declared in the Robot class. |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
execute() |
Repeatedly calls the subsystem to change the LED color based off of input from a switch.
|
protected void |
initialize() |
Initializes the LEDs.
|
protected boolean |
isFinished() |
Always returns false so the command is never interrupted.
|
cancel, clearRequirements, doesRequire, end, getGroup, initSendable, interrupted, isCanceled, isCompleted, isInterruptible, isRunning, isTimedOut, requires, setInterruptible, setRunWhenDisabled, setTimeout, start, timeSinceInitialized, toString, willRunWhenDisabledclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic IntakeColorChanger()
IntakeColorChanger command that requires the intake subsystem declared in the Robot class.protected void initialize()
initialize in class edu.wpi.first.wpilibj.command.Commandprotected void execute()
execute in class edu.wpi.first.wpilibj.command.Commandprotected boolean isFinished()
isFinished in class edu.wpi.first.wpilibj.command.Command