This is a debugging tool used to test if the simulator is working right. It is a program that can send control commands to the simulator in the same format the real AI does. The controls can be sent just by the press of keystrokes. It is simple as it does not have the complex strategy and vision module of AI.
Go to criss\simpleAI and open up the workspace for simpleAI.dsw. If the simulator is running on same computer you do not need the parameters but if you are running on a different computer you need to pass the IP address and port number when you execute simpleAI.exe.
Key Strokes | Action |
q | To quit the program |
8 | To move up the field |
2 | To move down the field |
4 | To move left |
6 | To move right |
5 | To move to center |
c | To print commands sent |
s | To print incoming data from simulator for robot of team 0 |
a | To print incoming data from simulator for robot of team 1 |
We are only able to control robot 0 of either team using SimpleAI. To control other robots, you will have to modify the code.