[wpilib] Add isTestEnabled and minor docs cleanup (#5172)

This commit is contained in:
Ryan Blue
2023-03-10 22:23:57 -05:00
committed by GitHub
parent e5c4c6b1a7
commit 32ec5b3f75
6 changed files with 69 additions and 19 deletions

View File

@@ -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.
*