[hal] Add GetTeamNumber (#5596)

This commit is contained in:
Ryan Blue
2023-09-02 02:34:18 -04:00
committed by GitHub
parent a750bee54d
commit ac23f92451
19 changed files with 259 additions and 0 deletions

View File

@@ -63,6 +63,13 @@ class RobotController {
*/
static std::string GetComments();
/**
* Returns the team number configured for the robot controller.
*
* @return team number, or 0 if not found.
*/
static int32_t GetTeamNumber();
/**
* Read the microsecond-resolution timer on the FPGA.
*