Package com.ctre.phoenix
Enum Class VelocityPeriod
- All Implemented Interfaces:
Serializable
,Comparable<VelocityPeriod>
,Constable
Deprecated.
Enum for velocity periods used for CANifier
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.100ms velocity measurement periodDeprecated.10ms velocity measurement periodDeprecated.1ms velocity measurement periodDeprecated.20ms velocity measurement periodDeprecated.25ms velocity measurement periodDeprecated.2ms velocity measurement periodDeprecated.50ms velocity measurement periodDeprecated.5ms velocity measurement period -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiontoString()
Deprecated.static VelocityPeriod
valueOf
(double value) Deprecated.Get VelocityPeriod of specified valuestatic VelocityPeriod
valueOf
(int value) Deprecated.Get velocityPeriod of specified valuestatic VelocityPeriod
Deprecated.Returns the enum constant of this class with the specified name.static VelocityPeriod[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Period_1Ms
Deprecated.1ms velocity measurement period -
Period_2Ms
Deprecated.2ms velocity measurement period -
Period_5Ms
Deprecated.5ms velocity measurement period -
Period_10Ms
Deprecated.10ms velocity measurement period -
Period_20Ms
Deprecated.20ms velocity measurement period -
Period_25Ms
Deprecated.25ms velocity measurement period -
Period_50Ms
Deprecated.50ms velocity measurement period -
Period_100Ms
Deprecated.100ms velocity measurement period
-
-
Field Details
-
value
Deprecated.Value of velocity period
-
-
Method Details
-
values
Deprecated.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
Deprecated.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
-
valueOf
Deprecated.Get velocityPeriod of specified value- Parameters:
value
- value of VelocityPeriod- Returns:
- VelocityPeriod of specified value
-
valueOf
Deprecated.Get VelocityPeriod of specified value- Parameters:
value
- value of VelocityPeriod- Returns:
- VelocityPeriod of specified value
-
toString
Deprecated.- Overrides:
toString
in classEnum<VelocityPeriod>
- Returns:
- String representation of specified VelocityPeriod
-