Linux (Ubuntu)

Installation Guide for Linux (Ubuntu 20.04 LTS / 22.04 LTS)

Installation Guide

  1. Install pip3 & required libraries

    1. Open the terminal window.
    2. Run the following command to install pip:
      sudo apt install python3-pip
    3. Run the following command to install libraries:
      python3 -m pip install numpy termcolor requests
  2. Download & Install the Webots version 2023.b

    1. Open the terminal window.
    2. Run the following command to download the installation package:
      wget https://github.com/cyberbotics/webots/releases/download/R2023b/webots_2023b_amd64.deb
    3. Run the following command to install it:
      sudo apt install ./webots_2023b_amd64.deb
  3. Download and unzip the latest Erebus Release Build.

Run the environment

Run the world1.wbt file from terminal. If the file located in /home/USER_NAME/EREBUS_FOLDER/game/worlds/world1.wbt
, just run the following command:
webots '/home/USER_NAME/EREBUS_FOLDER/game/worlds/world1.wbt'

It shows you the Competition Supervisor automatically. If the window does not appear automatically, please check the troubleshooting section to solve the issue.

The first time you run the simulator, it will automatically install the Python libraries needed to run the simulation, which may take some time (Initializing Process).

Troubleshooting

The Competition Supervisor does not appear

  1. If the Scene Tree is not displayed, go to Tools –> Scene Tree in the top menu to display it.
  2. Find “DEF MAINSUPERVISOR Robot” in the Scene Tree and right-click it. Click on “Show Robot Window”.

If your Webots screen comes up blank/black

Copy and the download, unzip to a separate folder before opening the world. It should then work.

The simulation runs too slowly

This is probably due to the low performance of your computer. This may be improved by adjusting the “accuracy” of the graphics according to the following procedure. However, you should take into account that these “adjustments” are only valid for testing in your environment, and that in a competition the game may be run under different adjustments.

  1. Open Tools -> Preferences in the top navigation bar.
  2. Open the OpenGL tab
  3. Set the various parameters appropriately.

Competition Controller does not appear

After some minutes, if the time limit is not displayed, as in the following image, please check the following help.