public static enum HardwareStates.IntakeRollersState extends java.lang.Enum<HardwareStates.IntakeRollersState>
| Enum Constant | Description |
|---|---|
COAST |
State when the intake rollers are coasting.
|
IN |
State when the intake is intaking a cube.
|
OUT |
State when the intake is outtaking a cube.
|
STOP |
State when the intake rollers are stopped.
|
| Modifier and Type | Method | Description |
|---|---|---|
static HardwareStates.IntakeRollersState |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static HardwareStates.IntakeRollersState[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HardwareStates.IntakeRollersState IN
public static final HardwareStates.IntakeRollersState OUT
public static final HardwareStates.IntakeRollersState STOP
public static final HardwareStates.IntakeRollersState COAST
public static HardwareStates.IntakeRollersState[] values()
for (HardwareStates.IntakeRollersState c : HardwareStates.IntakeRollersState.values()) System.out.println(c);
public static HardwareStates.IntakeRollersState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null