public final class RoboRIO extends java.lang.Object implements UpdatingSendable
| Modifier and Type | Field and Description |
|---|---|
private static RoboRIO |
m_instance |
private ITable |
m_table |
private static ButtonTrigger |
USER_BUTTON |
| Modifier | Constructor and Description |
|---|---|
private |
RoboRIO()
Instantiates a new robo rio.
|
| Modifier and Type | Method and Description |
|---|---|
static double |
get3V3Current()
Return the Current used by the 3.3 Volt rail.
|
static int |
get3V3FaultCount()
Gets the comms fault count.
|
static boolean |
get3V3PowerEnabled()
Gets the comms power enabled.
|
static double |
get3V3Voltage()
Return the Voltage used by the 3.3 Volt rail.
|
static double |
get5VCurrent()
Gets the IO current.
|
static int |
get5VFaultCount()
Gets the IO fault count.
|
static boolean |
get5VPowerEnabled()
Gets the IO power enabled.
|
static double |
get5VVoltage()
Gets the IO voltage.
|
static double |
get6VCurrent()
Gets the servo current.
|
static int |
get6VFaultCount()
Gets the servo fault count.
|
static boolean |
get6VPowerEnabled()
Gets the servo power enabled.
|
static double |
get6VVoltage()
Gets the servo voltage.
|
static double |
getCurrent()
Return the Current into the RoboRIO.
|
static long |
getFPGARevision() |
static long |
getFPGATime() |
static double |
getFPGATimestamp() |
static int |
getFPGAVersion() |
static RoboRIO |
getInstance() |
java.lang.String |
getSmartDashboardType() |
ITable |
getTable() |
static boolean |
getUserButton()
Return the status of the user button on the RoboRIO.
|
static ButtonTrigger |
getUserButtonAsButton() |
static double |
getVoltage()
Return the Voltage into the RoboRIO.
|
static void |
initialize() |
void |
initTable(ITable subtable) |
void |
updateTable()
Update the table for this object with the latest values.
|
private ITable m_table
private static RoboRIO m_instance
private static final ButtonTrigger USER_BUTTON
public static void initialize()
public static final RoboRIO getInstance()
public static int getFPGAVersion()
public static long getFPGARevision()
public static long getFPGATime()
public static double getFPGATimestamp()
public static boolean getUserButton()
public static ButtonTrigger getUserButtonAsButton()
public static double getVoltage()
public static double getCurrent()
public static double get3V3Voltage()
public static double get3V3Current()
public static boolean get3V3PowerEnabled()
public static int get3V3FaultCount()
public static double get5VVoltage()
public static double get5VCurrent()
public static boolean get5VPowerEnabled()
public static int get5VFaultCount()
public static double get6VVoltage()
public static double get6VCurrent()
public static boolean get6VPowerEnabled()
public static int get6VFaultCount()
public java.lang.String getSmartDashboardType()
getSmartDashboardType in interface Sendablepublic void updateTable()
updateTable in interface UpdatingSendable