public final class RobotController extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static double |
getBatteryVoltage()
Read the battery voltage.
|
static CANStatus |
getCANStatus()
Get the current status of the CAN bus.
|
static double |
getCurrent3V3()
Get the current output of the 3.3V rail.
|
static double |
getCurrent5V()
Get the current output of the 5V rail.
|
static double |
getCurrent6V()
Get the current output of the 6V rail.
|
static boolean |
getEnabled3V3()
Get the enabled state of the 3.3V rail.
|
static boolean |
getEnabled5V()
Get the enabled state of the 5V rail.
|
static boolean |
getEnabled6V()
Get the enabled state of the 6V rail.
|
static int |
getFaultCount3V3()
Get the count of the total current faults on the 3.3V rail since the controller has booted.
|
static int |
getFaultCount5V()
Get the count of the total current faults on the 5V rail since the controller has booted.
|
static int |
getFaultCount6V()
Get the count of the total current faults on the 6V rail since the controller has booted.
|
static long |
getFPGARevision()
Return the FPGA Revision number.
|
static long |
getFPGATime()
Read the microsecond timer from the FPGA.
|
static int |
getFPGAVersion()
Return the FPGA Version number.
|
static double |
getInputCurrent()
Get the input current to the robot controller.
|
static double |
getInputVoltage()
Get the input voltage to the robot controller.
|
static boolean |
getUserButton()
Get the state of the "USER" button on the roboRIO.
|
static double |
getVoltage3V3()
Get the voltage of the 3.3V rail.
|
static double |
getVoltage5V()
Get the voltage of the 5V rail.
|
static double |
getVoltage6V()
Get the voltage of the 6V rail.
|
static boolean |
isBrownedOut()
Check if the system is browned out.
|
static boolean |
isSysActive()
Gets a value indicating whether the FPGA outputs are enabled.
|
public static int getFPGAVersion()
public static long getFPGARevision()
public static long getFPGATime()
public static boolean getUserButton()
public static double getBatteryVoltage()
public static boolean isSysActive()
public static boolean isBrownedOut()
public static double getInputVoltage()
public static double getInputCurrent()
public static double getVoltage3V3()
public static double getCurrent3V3()
public static boolean getEnabled3V3()
public static int getFaultCount3V3()
public static double getVoltage5V()
public static double getCurrent5V()
public static boolean getEnabled5V()
public static int getFaultCount5V()
public static double getVoltage6V()
public static double getCurrent6V()
public static boolean getEnabled6V()
public static int getFaultCount6V()
public static CANStatus getCANStatus()