Package edu.wpi.first.wpilibj
Class ControllerPower
- java.lang.Object
-
- edu.wpi.first.wpilibj.ControllerPower
-
@Deprecated public final class ControllerPower extends Object
Deprecated.Use RobotController class insteadOld Controller PR class.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static double
getCurrent3V3()
Deprecated.static double
getCurrent5V()
Deprecated.static double
getCurrent6V()
Deprecated.static boolean
getEnabled3V3()
Deprecated.static boolean
getEnabled5V()
Deprecated.static boolean
getEnabled6V()
Deprecated.static int
getFaultCount3V3()
Deprecated.static int
getFaultCount5V()
Deprecated.static int
getFaultCount6V()
Deprecated.static double
getInputCurrent()
Deprecated.static double
getInputVoltage()
Deprecated.static double
getVoltage3V3()
Deprecated.static double
getVoltage5V()
Deprecated.static double
getVoltage6V()
Deprecated.
-
-
-
Method Detail
-
getInputVoltage
@Deprecated public static double getInputVoltage()
Deprecated.Get the input voltage to the robot controller.- Returns:
- The controller input voltage value in Volts
-
getInputCurrent
@Deprecated public static double getInputCurrent()
Deprecated.Get the input current to the robot controller.- Returns:
- The controller input current value in Amps
-
getVoltage3V3
@Deprecated public static double getVoltage3V3()
Deprecated.Get the voltage of the 3.3V rail.- Returns:
- The controller 3.3V rail voltage value in Volts
-
getCurrent3V3
@Deprecated public static double getCurrent3V3()
Deprecated.Get the current output of the 3.3V rail.- Returns:
- The controller 3.3V rail output current value in Volts
-
getEnabled3V3
@Deprecated public static boolean getEnabled3V3()
Deprecated.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
-
getFaultCount3V3
@Deprecated public static int getFaultCount3V3()
Deprecated.Get the count of the total current faults on the 3.3V rail since the controller has booted.- Returns:
- The number of faults
-
getVoltage5V
@Deprecated public static double getVoltage5V()
Deprecated.Get the voltage of the 5V rail.- Returns:
- The controller 5V rail voltage value in Volts
-
getCurrent5V
@Deprecated public static double getCurrent5V()
Deprecated.Get the current output of the 5V rail.- Returns:
- The controller 5V rail output current value in Amps
-
getEnabled5V
@Deprecated public static boolean getEnabled5V()
Deprecated.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
-
getFaultCount5V
@Deprecated public static int getFaultCount5V()
Deprecated.Get the count of the total current faults on the 5V rail since the controller has booted.- Returns:
- The number of faults
-
getVoltage6V
@Deprecated public static double getVoltage6V()
Deprecated.Get the voltage of the 6V rail.- Returns:
- The controller 6V rail voltage value in Volts
-
getCurrent6V
@Deprecated public static double getCurrent6V()
Deprecated.Get the current output of the 6V rail.- Returns:
- The controller 6V rail output current value in Amps
-
getEnabled6V
@Deprecated public static boolean getEnabled6V()
Deprecated.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
-
getFaultCount6V
@Deprecated public static int getFaultCount6V()
Deprecated.Get the count of the total current faults on the 6V rail since the controller has booted.- Returns:
- The number of faults
-
-