Package com.ctre.phoenix.led
Enum Class CANdleStatusFrame
- All Implemented Interfaces:
Serializable
,Comparable<CANdleStatusFrame>
,Constable
The various status frames from CANdle
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionGeneral status frame Includes: - Battery Voltage - Current Measurement - Temperature - Faults - Sticky FaultsStartup frame, this is only sent out onceFirmware status, this is sent until API gets it, then no longer sends again.Status frame regarding LED control.Status frame regarding Neopixel generation.The bottom 4 pixels' state.The top 4 pixels' state. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CANdleStatusFrame
Returns the enum constant of this class with the specified name.static CANdleStatusFrame[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CANdleStatusFrame_Status_1_General
General status frame Includes: - Battery Voltage - Current Measurement - Temperature - Faults - Sticky Faults -
CANdleStatusFrame_Status_2_Startup
Startup frame, this is only sent out once -
CANdleStatusFrame_Status_3_FirmwareApiStatus
Firmware status, this is sent until API gets it, then no longer sends again. -
CANdleStatusFrame_Status_4_ControlTelem
Status frame regarding LED control. Is not used in API. -
CANdleStatusFrame_Status_5_PixelPulseTrain
Status frame regarding Neopixel generation. Is not used in API. -
CANdleStatusFrame_Status_6_BottomPixels
The bottom 4 pixels' state. Is not used in API. -
CANdleStatusFrame_Status_7_TopPixels
The top 4 pixels' state. Is not used in API.
-
-
Field Details
-
value
-
-
Method Details
-
values
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
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
-