Definition: RobotController.h:26
static bool IsSysActive()
Check if the FPGA outputs are enabled.
static void SetBrownoutVoltage(units::volt_t brownoutVoltage)
Set the voltage the roboRIO will brownout and disable all outputs.
static int GetFaultCount3V3()
Get the count of the total current faults on the 3.3V rail since the controller has booted.
static std::string GetComments()
Return the comments from the roboRIO web interface.
static uint64_t GetFPGATime()
Read the microsecond-resolution timer on the FPGA.
static bool GetEnabled3V3()
Get the enabled state of the 3.3V rail.
static units::volt_t GetBatteryVoltage()
Read the battery voltage.
static double GetVoltage5V()
Get the voltage of the 5V rail.
static int GetFaultCount5V()
Get the count of the total current faults on the 5V rail since the controller has booted.
static CANStatus GetCANStatus()
Get the current status of the CAN bus.
static bool IsBrownedOut()
Check if the system is browned out.
static RadioLEDState GetRadioLEDState()
Get the state of the "Radio" LED.
static bool IsSystemTimeValid()
Gets if the system time is valid.
static int GetFPGAVersion()
Return the FPGA Version number.
static int64_t GetFPGARevision()
Return the FPGA Revision number.
static double GetVoltage3V3()
Get the voltage of the 3.3V rail.
static int GetFaultCount6V()
Get the count of the total current faults on the 6V rail since the controller has booted.
static units::volt_t GetBrownoutVoltage()
Get the current brownout voltage setting.
static void SetEnabled6V(bool enabled)
Enables or disables the 6V rail.
static std::string GetSerialNumber()
Return the serial number of the roboRIO.
static double GetInputVoltage()
Get the input voltage to the robot controller.
static double GetVoltage6V()
Get the voltage of the 6V rail.
static bool GetEnabled5V()
Get the enabled state of the 5V rail.
static void SetEnabled5V(bool enabled)
Enables or disables the 5V rail.
static double GetCurrent3V3()
Get the current output of the 3.3V rail.
static units::celsius_t GetCPUTemp()
Get the current CPU temperature.
static bool GetUserButton()
Get the state of the "USER" button on the roboRIO.
static int32_t GetTeamNumber()
Returns the team number configured for the robot controller.
static bool GetRSLState()
Gets the current state of the Robot Signal Light (RSL)
static bool GetEnabled6V()
Get the enabled state of the 6V rail.
static void SetEnabled3V3(bool enabled)
Enables or disables the 3.3V rail.
static double GetCurrent6V()
Get the current output of the 6V rail.
static double GetCurrent5V()
Get the current output of the 5V rail.
static void SetRadioLEDState(RadioLEDState state)
Set the state of the "Radio" LED.
static double GetInputCurrent()
Get the input current to the robot controller.
state
Definition: core.h:2271
Definition: AprilTagPoseEstimator.h:15
RadioLEDState
Definition: RobotController.h:24
@ kOff
Definition: RobotController.h:24
@ kGreen
Definition: RobotController.h:24
@ kRed
Definition: RobotController.h:24
@ kOrange
Definition: RobotController.h:24
Definition: RobotController.h:16
int busOffCount
Definition: RobotController.h:18
int receiveErrorCount
Definition: RobotController.h:20
float percentBusUtilization
Definition: RobotController.h:17
int txFullCount
Definition: RobotController.h:19
int transmitErrorCount
Definition: RobotController.h:21