public static enum MotionControl.Direction.Body extends java.lang.Enum<MotionControl.Direction.Body>
| Enum Constant and Description |
|---|
BACKWARD |
FORWARD |
STOP |
TURN_LEFT |
TURN_RIGHT |
| Modifier and Type | Method and Description |
|---|---|
static MotionControl.Direction.Body |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MotionControl.Direction.Body[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MotionControl.Direction.Body BACKWARD
public static final MotionControl.Direction.Body FORWARD
public static final MotionControl.Direction.Body STOP
public static final MotionControl.Direction.Body TURN_LEFT
public static final MotionControl.Direction.Body TURN_RIGHT
public static MotionControl.Direction.Body 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 nullpublic static MotionControl.Direction.Body[] values()
for (MotionControl.Direction.Body c : MotionControl.Direction.Body.values()) System.out.println(c);