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