public static enum CANJaguar.NeutralMode extends java.lang.Enum<CANJaguar.NeutralMode>
| Enum Constant and Description |
|---|
Brake
Stop the motor's rotation by applying a force.
|
Coast
Do not attempt to stop the motor.
|
Jumper
Use the NeutralMode that is set by the jumper wire on the CAN device
|
| Modifier and Type | Method and Description |
|---|---|
static CANJaguar.NeutralMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CANJaguar.NeutralMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CANJaguar.NeutralMode Jumper
public static final CANJaguar.NeutralMode Brake
public static final CANJaguar.NeutralMode Coast
public static CANJaguar.NeutralMode[] values()
for (CANJaguar.NeutralMode c : CANJaguar.NeutralMode.values()) System.out.println(c);
public static CANJaguar.NeutralMode 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