public static enum CANJaguar.ControlMode extends Enum<CANJaguar.ControlMode>
Enum Constant and Description |
---|
Current |
PercentVbus |
Position |
Speed |
Voltage |
Modifier and Type | Method and Description |
---|---|
static CANJaguar.ControlMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CANJaguar.ControlMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CANJaguar.ControlMode PercentVbus
public static final CANJaguar.ControlMode Current
public static final CANJaguar.ControlMode Speed
public static final CANJaguar.ControlMode Position
public static final CANJaguar.ControlMode Voltage
public static CANJaguar.ControlMode[] values()
for (CANJaguar.ControlMode c : CANJaguar.ControlMode.values()) System.out.println(c);
public static CANJaguar.ControlMode 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 © 2015. All rights reserved.