brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 1 | package aos; |
| 2 | |
| 3 | message RobotState { |
| 4 | bool enabled; |
| 5 | bool autonomous; |
brians | 6591d58 | 2013-03-03 05:31:53 +0000 | [diff] [blame^] | 6 | bool test_mode; |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 7 | uint16_t team_id; |
| 8 | }; |
| 9 | |
| 10 | // The robot_state Queue is checked by all control loops to make sure that the |
| 11 | // joystick code hasn't died. |
| 12 | // It also provides information about whether or not the robot is in autonomous |
| 13 | // mode and what the team_id is. |
| 14 | |
| 15 | queue RobotState robot_state; |