diff --git a/README.md b/README.md index 26e059c..74cce59 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,29 @@ # autotest2d Auto test scripts for RoboCup soccer simulation 2d games +## Prequisites +except linux OS to run and python3 nothing. :) + +## How to RUN +you should edit your left team and right team directory for binaries of teams in the start_left and start_right files. + +``` bash +test.sh start_left start_right +``` + +also you can see the results until now while the test.sh script is running by executing the following command. + +``` bash +result.sh +``` + +## How to Terminate +to kill the processes and open up the results for new and other simulations, please execute the following command. + +``` bash +kill.sh +``` + ## Usages * Configure `PROCES` in `test.sh` as the number of simultaneously running rcssservers (each rcssserver will run in a different port automatically) * Configure `CLIENTS` in `test.sh` to be the list of client machines running teams diff --git a/start_left b/start_left index 7fad7a4..6178233 100755 --- a/start_left +++ b/start_left @@ -1,7 +1,7 @@ #!/bin/bash -cd ~/rcss/R32D/src && ./start.sh -h $2 -p $3 &> /dev/null +cd ~/APH505/Robotics/robotics-lab/projects/R32D-main/R32D/src && ./start.sh -h $2 -p $3 &> /dev/null sleep 5 diff --git a/start_right b/start_right index 2e0fec1..27e0916 100755 --- a/start_right +++ b/start_right @@ -1,5 +1,5 @@ #!/bin/bash -cd ~/rcss/bin/thunder/bin/src && ./start.sh -h $2 -p $3 +cd ~/APH505/Robotics/robotics-lab/projects/R32D-main/R32D/src && ./start.sh -h $2 -p $3 sleep 5