Bonus Lab – Robot Soccer Challenge
Objectives
The goal of this lab is to apply everything that we learned in the course to implement a robot soccer team!
RCJ Soccer Simulator
For this lab, we are going to use the RoboCupJunior Soccer Simulator - SoccerSim (Figure 1). It is based on Webots and programmed in Python.
Figure 1. Webots running the RCJ SoccerSim with three robots on each team.
Tasks
Clone the RCJ Soccer Sim repository to get all the files necessary.
Each team is composed by 3 differential-drive robots. Each robot has its own Python code to control the speed of its own wheels. The code has access to the position of the robot and the ball in the field, with some noise added by the simulator.
There is an automatic referee that takes care of the implementation of all rules, such as counting time, verifying goals, positioning the robots and ball at the beginning of the match, etc. You should not change the referee code!
Instructions on how to install and run the Soccer Simulator are avaliable in this link. The same page also has detailed explanation on how to create code for your simulated robots, including examples.
To play a match, just program your robots, hit “play”, and have fun watching the game! :-)
The complete set of rules for the official RoboCup Junior Soccer Simulation competition is available here.
Have fun!!
Main Page
Back to main page.