Skip to content

RCSS-IR/futsal-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IranOpen - Technical Challenges - Futsal Challenge

به فارسی 🇮🇷

In this repository, you can find the Futsal Challenge of IranOpen Technical Challenges.

Introduction

Exciting challenges have been introduced to the 2D soccer simulation league.

GIFMaker_me GIFMaker_me (1)

🗒️ Rules

📺 Monitor and server:

rcssmonitor and rcssserver are now applications, so it is more user-friendly and easy to use.

🔤 Base and lib:

Library will be in a different directory from your original library and the base will access it, so there are no conflicts or problems developing your team.

🪧 Play modes:

No

  • corners
  • goal kicks
  • penalties
  • kick_in anymore.

⏲️ Game time :

No halves, the whole game will last 2000 cycles.

✏️ Game parameters:

Game will be in fullstate mode and there's no offside fault.

📏 Size of field:

Length of field is now 45.0 and 28.0 for the width.

Ball collision and Field's border:

Field's border now is not just a line, it is a wall ! That ball will collide with it.

🟢 Semicircular goal and goal area:

Goal is Semicircular now(r = 3.0) , the goal area is in the same shape(r = 6.0).

🛑 No goalie:

No goalkeepers are allowed and there is no catch command, try to defend your goal with a tackle!

👨 Agents:

Only 3 players are allowed.

Running the challenge locally

First download the futsal_monitor_v1.0 and futsal_server_v1.0 from the Release section.

  • Download and install the fuse package:
sudo apt install fuse
  • download server.conf file from link and save it in the directory that you saved futsal_server.

📁 In the directory run the following command to give executive access to futsal-challenge-server:

chmod +x futsal-challenge-server.AppImage

✔️ Run the server:

sudo ./futsal-challenge-server.AppImage --include = server.conf

📁 In the directory run the following command to give executive access to futsal-challenge-monitor:

chmod +x futsal-challenge-monitor.AppImage

Then run the below command to remove monitor default configs

sudo rm $HOME/.rcssmonitor.conf

✔️ Run the monitor:

./futsal-challenge-monitor.AppImage

📚 Setup the library

  • Download it from Release section.

Note that there will not be any conflicts between your original library and the challenge library

The latest Challenge-lib depends on the following libraries:

In the case of Ubuntu 20.04 or later, execute the following commands for installing a basic development environment:

sudo apt update
sudo apt install build-essential libboost-all-dev autoconf automake libtool cmake

To build the library, execute commands from the root of source directory:

mkdir build
cd build
cmake ..
make -j8
  • make

Once successfully built, you can install the library file and header files to the default installation directory (home/.challenge):

sudo make install
  • Then :
sudo ldconfig

build the base

  • Download it from Release section.

The latest challenge-base depends on the following libraries:

In the case of Ubuntu 16.04 or later, execute the following commands for installing a basic development environment:

sudo apt update
sudo apt install build-essential libboost-all-dev cmake

📁 To build the team, execute commands from the root of source directory:

mkdir build
cd build
cmake -DCMAKE_PREFIX_PATH=$HOME/.challenge ..
make

To start the challenge-base team, invoke the start script in build/bin directory:

./start.sh

License

This repository is licensed under the AGPL-3.0 license, See LICENSE for the full license text.

Authors

Erfan Fathi (page) & Soroush Mazloum (page)