Linux (Ubuntu)
Installation Guide
-
Install pip3 & required libraries
- Open the terminal window.
- Run the following command to install pip:
sudo apt install python3-pip
- Run the following command to install libraries:
python3 -m pip install numpy termcolor requests
-
Download & Install the Webots version 2023.b
- Open the terminal window.
- Run the following command to download the installation package:
wget https://github.com/cyberbotics/webots/releases/download/R2023b/webots_2023b_amd64.deb
- Run the following command to install it:
sudo apt install ./webots_2023b_amd64.deb
-
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
- If the Scene Tree is not displayed, go to Tools –> Scene Tree in the top menu to display it.
- 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.
- Open Tools -> Preferences in the top navigation bar.
- Open the OpenGL tab
- 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.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.