|
CTRE Phoenix C++ 5.36.0-beta-1
|
Configurables available to CANdle. More...
#include <ctre/phoenix/led/CANdleConfiguration.h>
Public Member Functions | |
| CANdleConfiguration () | |
| Constructor. | |
| std::string | toString (std::string prependString="") |
Public Member Functions inherited from ctre::phoenix::CustomParamConfiguration | |
| CustomParamConfiguration () | |
| std::string | toString () |
| std::string | toString (std::string prependString) |
Public Attributes | |
| LEDStripType | stripType {LEDStripType::RGB} |
| What type of LEDs the CANdle controls. | |
| double | brightnessScalar {1.0} |
| Brightness scalar for all LEDs controlled. | |
| bool | disableWhenLOS {false} |
| True to turn off LEDs when Loss of Signal occurrs. | |
| bool | statusLedOffWhenActive {false} |
| True to turn off Status LED when CANdle is actively being controlled. | |
| VBatOutputMode | vBatOutputMode {VBatOutputMode::On} |
| The behavior of VBat output. | |
| bool | v5Enabled {false} |
| True to turn off the 5V rail. | |
Public Attributes inherited from ctre::phoenix::CustomParamConfiguration | |
| int | customParam0 |
| Custom Param 0. | |
| int | customParam1 |
| Custom Param 1. | |
| bool | enableOptimizations |
| Enable optimizations for ConfigAll (defaults true) | |
Configurables available to CANdle.
If the Phoenix 5 API must be used for this device, the device must have 22.X firmware. This firmware is available in Tuner X after selecting Phoenix 5 in the firmware year dropdown.
| ctre::phoenix::led::CANdleConfiguration::CANdleConfiguration | ( | ) |
Constructor.
If the Phoenix 5 API must be used for this device, the device must have 22.X firmware. This firmware is available in Tuner X after selecting Phoenix 5 in the firmware year dropdown.
| std::string ctre::phoenix::led::CANdleConfiguration::toString | ( | std::string | prependString = "" | ) |
| prependString | String to prepend to configs |
| double ctre::phoenix::led::CANdleConfiguration::brightnessScalar {1.0} |
Brightness scalar for all LEDs controlled.
| bool ctre::phoenix::led::CANdleConfiguration::disableWhenLOS {false} |
True to turn off LEDs when Loss of Signal occurrs.
| bool ctre::phoenix::led::CANdleConfiguration::statusLedOffWhenActive {false} |
True to turn off Status LED when CANdle is actively being controlled.
| LEDStripType ctre::phoenix::led::CANdleConfiguration::stripType {LEDStripType::RGB} |
What type of LEDs the CANdle controls.
| bool ctre::phoenix::led::CANdleConfiguration::v5Enabled {false} |
True to turn off the 5V rail.
This turns off the on-board LEDs as well.
| VBatOutputMode ctre::phoenix::led::CANdleConfiguration::vBatOutputMode {VBatOutputMode::On} |
The behavior of VBat output.