|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<LowLevelDrivingAction>
us.ihmc.packets.LowLevelDrivingAction
public enum LowLevelDrivingAction
Enum Constant Summary | |
---|---|
DIRECTION
-1 reverse, 1 forward |
|
DO_NOTHING
in seconds |
|
FOOTBRAKE
[0,1] 0 = off 1 = max |
|
GASPEDAL
[0,1] 0 = off 1 = max |
|
GET_IN_CAR
Easy cheat mode |
|
HANDBRAKE
-1 disengage, 1 engage, -2.0 redisengage, 2 enage |
|
REINITIALIZE
Stop, let go of steering wheel and press brake |
|
STEERING
[-pi,pi] |
Method Summary | |
---|---|
static LowLevelDrivingAction |
fromInt(int value)
|
int |
toInt()
|
static LowLevelDrivingAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static LowLevelDrivingAction[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final LowLevelDrivingAction GASPEDAL
public static final LowLevelDrivingAction FOOTBRAKE
public static final LowLevelDrivingAction STEERING
public static final LowLevelDrivingAction DIRECTION
public static final LowLevelDrivingAction HANDBRAKE
public static final LowLevelDrivingAction DO_NOTHING
public static final LowLevelDrivingAction REINITIALIZE
public static final LowLevelDrivingAction GET_IN_CAR
Method Detail |
---|
public static LowLevelDrivingAction[] values()
for (LowLevelDrivingAction c : LowLevelDrivingAction.values()) System.out.println(c);
public static LowLevelDrivingAction 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 name
java.lang.NullPointerException
- if the argument is nullpublic int toInt()
public static LowLevelDrivingAction fromInt(int value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |