Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 949 Bytes

running-a-match-with-agent2d.md

File metadata and controls

34 lines (19 loc) · 949 Bytes

Running a match

To do this tutorial, you must have read the previous tutorial.

Running the server and monitor

Open a terminal and run the server:

rcssserver &

Now we need a monitor to visualize the match. If you have installed rcssmonitor and soccerwindow2, choose one and run it:

rcssmonitor &

or

soccerwindow2 &

Take teams on the field

Go to the agent2d directory and run:

cd src/ ./start.sh -t team_name

Note: replace team_name with the desired team name. If you have permission problems with the second command, run sudo chmod +x start.sh. If you still have problems, edit the folder permissions by executing sudo chmod 777 *.

Open another terminal and run the same command cited above just placing a different team name.

Conclusion

Now you have two teams on the field. Just use Ctrl+K to perform a match kick-off.