Package com.ctre.phoenix
Enum VelocityPeriod
- All Implemented Interfaces:
Serializable
,Comparable<VelocityPeriod>
,java.lang.constant.Constable
@Deprecated public enum VelocityPeriod extends Enum<VelocityPeriod>
Deprecated.
Enum for velocity periods used for CANifier
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description Period_100Ms
Deprecated.100ms velocity measurement periodPeriod_10Ms
Deprecated.10ms velocity measurement periodPeriod_1Ms
Deprecated.1ms velocity measurement periodPeriod_20Ms
Deprecated.20ms velocity measurement periodPeriod_25Ms
Deprecated.25ms velocity measurement periodPeriod_2Ms
Deprecated.2ms velocity measurement periodPeriod_50Ms
Deprecated.50ms velocity measurement periodPeriod_5Ms
Deprecated.5ms velocity measurement period -
Field Summary
Fields Modifier and Type Field Description int
value
Deprecated.Value of velocity period -
Method Summary
Modifier and Type Method Description String
toString()
Deprecated.static VelocityPeriod
valueOf(double value)
Deprecated.Get VelocityPeriod of specified valuestatic VelocityPeriod
valueOf(int value)
Deprecated.Get velocityPeriod of specified valuestatic VelocityPeriod
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static VelocityPeriod[]
values()
Deprecated.Returns an array containing the constants of this enum type, 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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
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
-