Package com.ctre.phoenix.sensors
Enum SensorTimeBase
- All Implemented Interfaces:
Serializable
,Comparable<SensorTimeBase>
,java.lang.constant.Constable
public enum SensorTimeBase extends Enum<SensorTimeBase>
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description Per100Ms_Legacy
Legacy ModePerMinute
Per-Minute VelocitiesPerSecond
Per-Second Velocities -
Field Summary
Fields Modifier and Type Field Description int
value
-
Method Summary
Modifier and Type Method Description String
toString()
String representation of specified SensorTimeBasestatic SensorTimeBase
valueOf(int value)
public lookup to convert int to enumstatic SensorTimeBase
valueOf(String name)
Returns the enum constant of this type with the specified name.static SensorTimeBase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Per100Ms_Legacy
Legacy Mode -
PerSecond
Per-Second Velocities -
PerMinute
Per-Minute Velocities
-
-
Field Details
-
Method Details
-
values
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
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
-
toString
String representation of specified SensorTimeBase- Overrides:
toString
in classEnum<SensorTimeBase>
- Returns:
- string representation of SensorTimeBase
-
valueOf
public lookup to convert int to enum
-