Robot state utility functions.
More...
#include <frc/RobotState.h>
|
static bool | IsDisabled () |
| Returns true if the robot is disabled.
|
|
static bool | IsEnabled () |
| Returns true if the robot is enabled.
|
|
static bool | IsEStopped () |
| Returns true if the robot is E-stopped.
|
|
static bool | IsTeleop () |
| Returns true if the robot is in teleop mode.
|
|
static bool | IsAutonomous () |
| Returns true if the robot is in autonomous mode.
|
|
static bool | IsTest () |
| Returns true if the robot is in test mode.
|
|
Robot state utility functions.
◆ RobotState()
frc::RobotState::RobotState |
( |
| ) |
|
|
delete |
◆ IsAutonomous()
static bool frc::RobotState::IsAutonomous |
( |
| ) |
|
|
static |
Returns true if the robot is in autonomous mode.
- Returns
- True if the robot is in autonomous mode.
◆ IsDisabled()
static bool frc::RobotState::IsDisabled |
( |
| ) |
|
|
static |
Returns true if the robot is disabled.
- Returns
- True if the robot is disabled.
◆ IsEnabled()
static bool frc::RobotState::IsEnabled |
( |
| ) |
|
|
static |
Returns true if the robot is enabled.
- Returns
- True if the robot is enabled.
◆ IsEStopped()
static bool frc::RobotState::IsEStopped |
( |
| ) |
|
|
static |
Returns true if the robot is E-stopped.
- Returns
- True if the robot is E-stopped.
◆ IsTeleop()
static bool frc::RobotState::IsTeleop |
( |
| ) |
|
|
static |
Returns true if the robot is in teleop mode.
- Returns
- True if the robot is in teleop mode.
◆ IsTest()
static bool frc::RobotState::IsTest |
( |
| ) |
|
|
static |
Returns true if the robot is in test mode.
- Returns
- True if the robot is in test mode.
The documentation for this class was generated from the following file: