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