Description, protocol, Downloads, Help
The current developers are. Want to be a developer? You must have competed at a RoboCup competition before (sorry, but it makes sense if you think about it), and must send email to Brett
The referee box is aimed pushing the small size league towards full autonomy with little physical human contact with the robots. The referee box, which has been long talked about in the small size league, is a PC program designed to provide a GUI interface to the assistant referee and serial commands to the two competing teams. The referee box will keep a record of the timeouts, time remaining, score and penalties.
This section describes the referee box operation at a general level. For more specific operations see the following section, or the rules, or the rules FAQ.
The operation of the referee box is as follows:
The assistant referee runs the referee box (a laptop with split serial cables) and the referee just does his/her usual thing. The referee box *only* comes in to play during restarts and stoppages. When a game is running the assistant referee does nothing. The only exception to this is when halftime and full time occur. I'll describe this scenario later.
All restarts occur as follows:
Now ideally, we don't need to touch the robots except to remove them from the field. We should be able to control everything via the GUI and keyboard during the stoppage in play. For RoboCup 2002, humans will be allowed to reach onto the field to move the robots into position as per usual
When step 3 occurs, your team may ignore or process the command as you so choose. There will be an arbitrary delay (ie while peopel move their robots), then the referee will say something like "hands off", and steps 4 and 5 occur. If you look at the software you will see that it is pretty obvious to run.
The referee box keeps track of the game time and timeouts. Now the timeout/game time situations are as follows:
And that is all there is to it!
The latest version of the rules are located. For any queries about the rules, you should email the smallsize mailing list.
We have now added a client class (referee/client/game_state.h) to help you transition to using the new referee box. This is included with the latest release.
NOTE The protocol has changed slightly. Please pay careful attention to the changes below.
The protocol consists of single ASCII characters sent at 9600 baud (a faster rate may be chosen for the next release), with no parity, 8 data bits and no flow control. The actual commands that are currently implemented are listed below: *NB* New changes listed in bold
| Command type | Command Description | Yellow Team Command | Blue Team Command |
|---|---|---|---|
| Control commands | |||
| Halt | H | ||
| Stop | S | ||
| Ready | ' ' | ||
| Start | s | ||
| Game Notifications | |||
| Begin first half | 1 | ||
| Begin half time | h | ||
| Begin second half | 2 | ||
| Begin overtime half 1 | o | ||
| Begin overtime half 2 | O | ||
| Begin penalty shootout | a | ||
| Game restarts | |||
| Kick off | k | K | |
| Penalty | p | P | |
| Direct Free kick | f | F | |
| Indirect Free kick | i | I | |
| Extras | |||
| Timeout | t | T | |
| Timeout end | z | z | |
| Goal scored | g | G | |
| decrease Goal score | d | D | |
| Yellow Card | y | Y | |
| Red Card | r | R | |
| Cancel | c |
All comments and suggestions are more than welcome. Please send them to comments.
The latest code can be found here at:
For any help regarding the operation/function of the referee box please email the smallsize mailing list Smallsize mailing list