Enum Class ThriftyBotDevices.AbsoluteEncoderType
java.lang.Object
java.lang.Enum<ThriftyBotDevices.AbsoluteEncoderType>
swervelib.parser.deserializer.reflections.ThriftyBotDevices.AbsoluteEncoderType
- All Implemented Interfaces:
Serializable,Comparable<ThriftyBotDevices.AbsoluteEncoderType>,Constable
- Enclosing class:
- ThriftyBotDevices
public static enum ThriftyBotDevices.AbsoluteEncoderType
extends Enum<ThriftyBotDevices.AbsoluteEncoderType>
Absolute encoder types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRedux Canandmag encoder.DutyCycle encoder.SRX Mag encoder.10 pin encoder.Through bore encoder. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal com.thethriftybot.devices.ThriftyNova.ExternalEncoderAbsolute encoder type. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CANANDMAG
Redux Canandmag encoder. -
THRIFTY10PIN
10 pin encoder. -
THROUGHBORE
Through bore encoder. -
SRXMAG
SRX Mag encoder. -
DUTYCYCLE
DutyCycle encoder.
-
-
Field Details
-
encoder
public final com.thethriftybot.devices.ThriftyNova.ExternalEncoder encoderAbsolute encoder type.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-