Add RobotState#IsEStopped and DriverStation#IsEStopped (#952)

This commit is contained in:
Loki
2019-07-16 09:18:23 -05:00
committed by Peter Johnson
parent e488861877
commit 0f6ef80ab2
6 changed files with 37 additions and 3 deletions

View File

@@ -197,6 +197,13 @@ class DriverStation : public ErrorBase {
*/
bool IsDisabled() const;
/**
* Check if the robot is e-stopped.
*
* @return True if the robot is e-stopped
*/
bool IsEStopped() const;
/**
* Check if the DS is commanding autonomous mode.
*