![]() |
RoboCup2D Tutorial
|
This class reads the team formations and also defines each player role according to the adopted formation.
First, it is necessary to understand the naming convention used to determine where the ball is in the field. There is a enum to identify such areas:
This field division can be visualized in the image below:
These areas can be modified according to the team needs.
There are two methods to return the ball area: