Building elsiros on Ubuntu

Installing dependencies

  1. Install GameController - https://github.com/elsiros/GameController

  2. Install Webots R2021b - https://cyberbotics.com/

Installing elsiros

Clone code

git clone https://github.com/elsiros/elsiros_webots

Install libs from requirements.txt

cd /path/to/elsiros_webots
pip install -r requirements.txt

Install protobuf-compiler

sudo apt-get install libprotobuf-dev protobuf-compiler

Build controller and protobuf messages

cd /path/to/elsiros_webots/controllers/player
make

Test player controller

    cd /path/to/webots
    ./webots /path/to/elsiros_webots/worlds/elsiros_training.wbt
    cd /path/to/elsiros_webots/controllers/player
    python communication_manager_test.py