Closed Ahmad-Bamba closed 7 years ago
Use this to get the following commands to the smart dashboard network table:
Is the robot enabled? (Enabled : boolean)
Which mode (Mode: string - teleop, autonomous, test -) is the robot in
Current match time (Match Time: string)
The robot's position on the field (1, 2, or 3: Number/int)
Current battery voltage(Battery: Number/float)
There should be a namespace called
Networking
which has methods for emitting useful information to SmartDashboard and other network tables. One of these values should be a value calledEnabled
which is true when the robot is enabled and false when the robot is disabled.