public enum RobotControlState extends java.lang.Enum<RobotControlState>
Enum Constant and Description |
---|
Autonomous
The robot is in autonomous mode and is controlling itself.
|
Disabled
The robot is disabled.
|
Teleoperated
The robot is in teleop mode and is being controlled by human operators.
|
Test
The robot is in test (aka LiveWindow) mode.
|
Modifier and Type | Method and Description |
---|---|
static RobotControlState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RobotControlState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RobotControlState Disabled
public static final RobotControlState Autonomous
public static final RobotControlState Teleoperated
public static final RobotControlState Test
public static RobotControlState[] values()
for (RobotControlState c : RobotControlState.values()) System.out.println(c);
public static RobotControlState 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