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