Package swervelib.parser.deserializer
Enum Class ReflectionsManager.AbsoluteEncoder
java.lang.Object
java.lang.Enum<ReflectionsManager.AbsoluteEncoder>
swervelib.parser.deserializer.ReflectionsManager.AbsoluteEncoder
- All Implemented Interfaces:
Serializable,Comparable<ReflectionsManager.AbsoluteEncoder>,Constable
- Enclosing class:
- ReflectionsManager
public static enum ReflectionsManager.AbsoluteEncoder
extends Enum<ReflectionsManager.AbsoluteEncoder>
Absolute encoder vendor classes.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAM CAN EncoderCANandMag encoderCANCoder classREV Robotics Spline Encoder, (if you use this for an azimuth encoder...ThriftyBot CAN encoder -
Method Summary
Modifier and TypeMethodDescriptiongetAbsoluteEncoder(int canid, String canbus, boolean inverted) Returns the enum constant of this class with the specified name.static ReflectionsManager.AbsoluteEncoder[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CANCODER
CANCoder class -
CANANDMAG
CANandMag encoder -
ANDYMARK
AM CAN Encoder -
THRIFTYBOT10PIN
ThriftyBot CAN encoder -
SPLINE_ENCODER
REV Robotics Spline Encoder, (if you use this for an azimuth encoder... wow...)
-
-
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
-
getAbsoluteEncoder
-