Environment Setup#

The following prerequisites are required to install adf-core-python. If they are already installed on your PC, you do not need to install them again.

Prerequisites#

  • Git

  • Python 3.13 or later

  • OpenJDK 21

Refer to the following pages for installation instructions for each OS.

How to install the prerequisites on Windows

How to install the prerequisites on macOS

How to install the prerequisites on Linux

Installing the Simulation Server#

Next, install the RoboCup Rescue Simulation simulation server.

Note

Create or specify any directory for WORKING_DIR.

mkdir WORKING_DIR
cd WORKING_DIR
git clone https://github.com/roborescue/rcrs-server.git
cd rcrs-server
./gradlew completeBuild

If the following message appears when you build it, the installation was successful.

BUILD SUCCESSFUL in ...

Checking the Simulation Server#

cd scripts
./start-comprun.sh -m ../maps/test/map -c ../maps/test/config

Launching the Simulation Server

上記のように何個かのウィンドウが表示されたら成功です。 コマンドラインで Ctrl + C (MacOSの場合は Command + C ) を押すとシミュレーションサーバーが終了します。

Warning

After stopping the simulation server, some processes may remain, so run ./kill.sh.