double ControllerPower::GetCurrent3V3 |
( |
| ) |
|
|
static |
Get the current output of the 3.3V rail.
- Returns
- The controller 3.3V rail output current value in Amps
double ControllerPower::GetCurrent5V |
( |
| ) |
|
|
static |
Get the current output of the 5V rail.
- Returns
- The controller 5V rail output current value in Amps
double ControllerPower::GetCurrent6V |
( |
| ) |
|
|
static |
Get the current output of the 6V rail.
- Returns
- The controller 6V rail output current value in Amps
bool ControllerPower::GetEnabled3V3 |
( |
| ) |
|
|
static |
Get the enabled state of the 3.3V rail.
The rail may be disabled due to a controller brownout, a short circuit on the rail, or controller over-voltage.
- Returns
- The controller 3.3V rail enabled value. True for enabled.
bool ControllerPower::GetEnabled5V |
( |
| ) |
|
|
static |
Get the enabled state of the 5V rail.
The rail may be disabled due to a controller brownout, a short circuit on the rail, or controller over-voltage.
- Returns
- The controller 5V rail enabled value. True for enabled.
bool ControllerPower::GetEnabled6V |
( |
| ) |
|
|
static |
Get the enabled state of the 6V rail.
The rail may be disabled due to a controller brownout, a short circuit on the rail, or controller over-voltage.
- Returns
- The controller 6V rail enabled value. True for enabled.
int ControllerPower::GetFaultCount3V3 |
( |
| ) |
|
|
static |
Get the count of the total current faults on the 3.3V rail since the controller has booted.
- Returns
- The number of faults
int ControllerPower::GetFaultCount5V |
( |
| ) |
|
|
static |
Get the count of the total current faults on the 5V rail since the controller has booted.
- Returns
- The number of faults
int ControllerPower::GetFaultCount6V |
( |
| ) |
|
|
static |
Get the count of the total current faults on the 6V rail since the controller has booted.
- Returns
- The number of faults.
double ControllerPower::GetInputCurrent |
( |
| ) |
|
|
static |
Get the input current to the robot controller.
- Returns
- The controller input current value in Amps
double ControllerPower::GetInputVoltage |
( |
| ) |
|
|
static |
Get the input voltage to the robot controller.
- Returns
- The controller input voltage value in Volts
double ControllerPower::GetVoltage3V3 |
( |
| ) |
|
|
static |
Get the voltage of the 3.3V rail.
- Returns
- The controller 3.3V rail voltage value in Volts
double ControllerPower::GetVoltage5V |
( |
| ) |
|
|
static |
Get the voltage of the 5V rail.
- Returns
- The controller 5V rail voltage value in Volts
double ControllerPower::GetVoltage6V |
( |
| ) |
|
|
static |
Get the voltage of the 6V rail.
- Returns
- The controller 6V rail voltage value in Volts
The documentation for this class was generated from the following files:
- build/cppSource/wpilibc/headers/ControllerPower.h
- build/cppSource/wpilibc/sources/ControllerPower.cpp