WPILibC++  2019.3.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
frc::ControllerPower Class Reference

Static Public Member Functions

static double GetInputVoltage ()
 Get the input voltage to the robot controller. More...
 
static double GetInputCurrent ()
 Get the input current to the robot controller. More...
 
static double GetVoltage3V3 ()
 Get the voltage of the 3.3V rail. More...
 
static double GetCurrent3V3 ()
 Get the current output of the 3.3V rail. More...
 
static bool GetEnabled3V3 ()
 Get the enabled state of the 3.3V rail. More...
 
static int GetFaultCount3V3 ()
 Get the count of the total current faults on the 3.3V rail since the controller has booted. More...
 
static double GetVoltage5V ()
 Get the voltage of the 5V rail. More...
 
static double GetCurrent5V ()
 Get the current output of the 5V rail. More...
 
static bool GetEnabled5V ()
 Get the enabled state of the 5V rail. More...
 
static int GetFaultCount5V ()
 Get the count of the total current faults on the 5V rail since the controller has booted. More...
 
static double GetVoltage6V ()
 Get the voltage of the 6V rail. More...
 
static double GetCurrent6V ()
 Get the current output of the 6V rail. More...
 
static bool GetEnabled6V ()
 Get the enabled state of the 6V rail. More...
 
static int GetFaultCount6V ()
 Get the count of the total current faults on the 6V rail since the controller has booted. More...
 

Member Function Documentation

static double frc::ControllerPower::GetCurrent3V3 ( )
static

Get the current output of the 3.3V rail.

Returns
The controller 3.3V rail output current value in Amps
Deprecated:
Use RobotController static class method
static double frc::ControllerPower::GetCurrent5V ( )
static

Get the current output of the 5V rail.

Returns
The controller 5V rail output current value in Amps
Deprecated:
Use RobotController static class method
static double frc::ControllerPower::GetCurrent6V ( )
static

Get the current output of the 6V rail.

Returns
The controller 6V rail output current value in Amps
Deprecated:
Use RobotController static class method
static bool frc::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.
Deprecated:
Use RobotController static class method
static bool frc::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.
Deprecated:
Use RobotController static class method
static bool frc::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.
Deprecated:
Use RobotController static class method
static int frc::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
Deprecated:
Use RobotController static class method
static int frc::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
Deprecated:
Use RobotController static class method
static int frc::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.
Deprecated:
Use RobotController static class method
static double frc::ControllerPower::GetInputCurrent ( )
static

Get the input current to the robot controller.

Returns
The controller input current value in Amps
Deprecated:
Use RobotController static class method
static double frc::ControllerPower::GetInputVoltage ( )
static

Get the input voltage to the robot controller.

Returns
The controller input voltage value in Volts
Deprecated:
Use RobotController static class method
static double frc::ControllerPower::GetVoltage3V3 ( )
static

Get the voltage of the 3.3V rail.

Returns
The controller 3.3V rail voltage value in Volts
Deprecated:
Use RobotController static class method
static double frc::ControllerPower::GetVoltage5V ( )
static

Get the voltage of the 5V rail.

Returns
The controller 5V rail voltage value in Volts
Deprecated:
Use RobotController static class method
static double frc::ControllerPower::GetVoltage6V ( )
static

Get the voltage of the 6V rail.

Returns
The controller 6V rail voltage value in Volts
Deprecated:
Use RobotController static class method

The documentation for this class was generated from the following file: