Table of Contents
The program reads the ball trajectory file and using small size robot attributes shows if it is possible for the robot to intercept the ball or not. To define whether there will be an intercept, the robot's intercept radius, its movement speed and the initial position being defined by the user are taken into account.
As soon as the application starts, the user must enter the X and Y position of the robot, so that the calculation is carried out and enables the prediction of contact between the robot and the ball, taking into account its trajectory, as well as the speed of the robot. For this we use the formula of distance between two points, to calculate all the possibilities of time from the initial position of the robot and the trajectory of the ball (from the txt file).
# Clone the repository
$ git clone https://github.com/antuniooh/robot-soccer-simulator.git
# Access the project folder in your terminal / cmd
$ cd robot-soccer-simulator/src
# Install the libs
$ python -m pip install -U pip
$ python -m pip install -U matplotlib
# In both Windows and Linux, the execution is done by executing the following line in the terminal, or using an IDE of your choice.
$ python3 BP_main.py
Antonio Gustavo | João Vitor Dias | Weverson da Silva |
---|---|---|
22.119.001-0 | 22.119.006-9 | 22.119.004-4 |