public static enum CANJaguar.NeutralMode extends 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 | Field and Description |
|---|---|
byte |
value |
| Modifier and Type | Method and Description |
|---|---|
static CANJaguar.NeutralMode |
valueOf(byte value) |
static CANJaguar.NeutralMode |
valueOf(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(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 nullpublic static CANJaguar.NeutralMode valueOf(byte value)
Copyright © 2015. All rights reserved.