Package org.team1540.rooster.wrappers
Enum ChickenTalon.TalonControlMode
- java.lang.Object
-
- java.lang.Enum<ChickenTalon.TalonControlMode>
-
- org.team1540.rooster.wrappers.ChickenTalon.TalonControlMode
-
- All Implemented Interfaces:
Serializable
,Comparable<ChickenTalon.TalonControlMode>
- Enclosing class:
- ChickenTalon
@Deprecated public static enum ChickenTalon.TalonControlMode extends Enum<ChickenTalon.TalonControlMode>
Deprecated.UseControlMode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Current
Deprecated.Disabled
Deprecated.Follower
Deprecated.MotionMagic
Deprecated.MotionProfile
Deprecated.PercentVbus
Deprecated.Position
Deprecated.Speed
Deprecated.Voltage
Deprecated.
-
Field Summary
Fields Modifier and Type Field Description int
value
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getValue()
Deprecated.boolean
isPID()
Deprecated.static ChickenTalon.TalonControlMode
valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name.static ChickenTalon.TalonControlMode
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static ChickenTalon.TalonControlMode[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PercentVbus
public static final ChickenTalon.TalonControlMode PercentVbus
Deprecated.
-
Position
public static final ChickenTalon.TalonControlMode Position
Deprecated.
-
Speed
public static final ChickenTalon.TalonControlMode Speed
Deprecated.
-
Current
public static final ChickenTalon.TalonControlMode Current
Deprecated.
-
Voltage
public static final ChickenTalon.TalonControlMode Voltage
Deprecated.
-
Follower
public static final ChickenTalon.TalonControlMode Follower
Deprecated.
-
MotionProfile
public static final ChickenTalon.TalonControlMode MotionProfile
Deprecated.
-
MotionMagic
public static final ChickenTalon.TalonControlMode MotionMagic
Deprecated.
-
Disabled
public static final ChickenTalon.TalonControlMode Disabled
Deprecated.
-
-
Method Detail
-
values
public static ChickenTalon.TalonControlMode[] values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ChickenTalon.TalonControlMode c : ChickenTalon.TalonControlMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChickenTalon.TalonControlMode valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
public static ChickenTalon.TalonControlMode valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
isPID
public boolean isPID()
Deprecated.
-
getValue
public int getValue()
Deprecated.
-
-