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