public static enum LineFollowerConfig.Behavior extends java.lang.Enum<LineFollowerConfig.Behavior>
| Enum Constant and Description |
|---|
CROSSROAD_LEFT |
CROSSROAD_RIGHT |
CURVE |
FORKED_LEFT |
FORKED_RIGHT |
NOTHING |
ROTATION |
SPEED_LEVEL |
TERMINATE |
U_TURN |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static LineFollowerConfig.Behavior |
getBehavior(int value) |
int |
getValue() |
static LineFollowerConfig.Behavior |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LineFollowerConfig.Behavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineFollowerConfig.Behavior CROSSROAD_LEFT
public static final LineFollowerConfig.Behavior CROSSROAD_RIGHT
public static final LineFollowerConfig.Behavior CURVE
public static final LineFollowerConfig.Behavior FORKED_LEFT
public static final LineFollowerConfig.Behavior FORKED_RIGHT
public static final LineFollowerConfig.Behavior NOTHING
public static final LineFollowerConfig.Behavior ROTATION
public static final LineFollowerConfig.Behavior SPEED_LEVEL
public static final LineFollowerConfig.Behavior TERMINATE
public static final LineFollowerConfig.Behavior U_TURN
public static final LineFollowerConfig.Behavior UNKNOWN
public static LineFollowerConfig.Behavior getBehavior(int value)
public int getValue()
public static LineFollowerConfig.Behavior 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 LineFollowerConfig.Behavior[] values()
for (LineFollowerConfig.Behavior c : LineFollowerConfig.Behavior.values()) System.out.println(c);