public static enum HardwareStates.ClimberState extends java.lang.Enum<HardwareStates.ClimberState>
| Enum Constant | Description |
|---|---|
EXTENDED |
State when the climber piston is fully extended (climbing).
|
RETRACTED |
State when the climber piston is fully retracted (not climbing).
|
| Modifier and Type | Method | Description |
|---|---|---|
static HardwareStates.ClimberState |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static HardwareStates.ClimberState[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HardwareStates.ClimberState EXTENDED
public static final HardwareStates.ClimberState RETRACTED
public static HardwareStates.ClimberState[] values()
for (HardwareStates.ClimberState c : HardwareStates.ClimberState.values()) System.out.println(c);
public static HardwareStates.ClimberState 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