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.a
- Open the terminal window.
- Run the following command to download the installation package:
wget https://github.com/cyberbotics/webots/releases/download/R2023a/webots_2023a_amd64.deb
- Run the following command to install it:
sudo apt install ./webots_2023a_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'
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).
If the time limit is not displayed, as in the following image, the initializing process is in progress. This process can take up to a minutes, depending on the performance of your computer.
Troubleshooting
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.
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.