public enum NavigationState extends Enum<NavigationState>
| Enum Constant and Description |
|---|
NAVIGATING
Navigation is working and running somewhere.
|
PATH_COMPUTATION_FAILED
For some reason path to target could not be computed.
|
STOPPED
Navigation was stopped for some reason.
|
STUCK
The bot is stucked for some reason when attempting to reach the target
|
TARGET_REACHED
Navigation reached target (and is stopped).
|
| Modifier and Type | Method and Description |
|---|---|
static NavigationState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NavigationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NavigationState STOPPED
public static final NavigationState TARGET_REACHED
public static final NavigationState PATH_COMPUTATION_FAILED
public static final NavigationState STUCK
public static final NavigationState NAVIGATING
public static NavigationState[] values()
for (NavigationState c : NavigationState.values()) System.out.println(c);
public static NavigationState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.