mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
[wpilib] Add isTestEnabled and minor docs cleanup (#5172)
This commit is contained in:
@@ -209,6 +209,14 @@ class DriverStation final {
|
||||
*/
|
||||
static bool IsTest();
|
||||
|
||||
/**
|
||||
* Check if the DS is commanding Test mode and if it has enabled the robot.
|
||||
*
|
||||
* @return True if the robot is being commanded to be in Test mode and
|
||||
* enabled.
|
||||
*/
|
||||
static bool IsTestEnabled();
|
||||
|
||||
/**
|
||||
* Check if the DS is attached.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user