Windows

Installation Guide for Windows

Quick Installation Guide

  1. Download & Install Python 3.9.x or 3.10.x 64 bit from the official website. During the install option, please make your python installation is referenced in your PATH (see picture below!)

  2. Download & Install the Webots version 2023.b from their official repository.

  3. Download and unzip the latest Erebus Release Build.

Run the environment

Double click to run the world file from /game/worlds/world1.wbt, opening it in Webots. 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”.

The initializing process is not finished forever

  1. First of all, please check the console window. If you see any errors, you will need to try to resolve them.
  2. If you don’t see any errors, the automatic installation of the required libraries may not be working properly; start Powershell and run the following command. python3 -m pip install numpy termcolor requests

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.

Can’t load a controller

This most likely means that Python has not been added to the Path correctly. To address this:

  1. Check to see if Python is in your path. Goto Command Prompt –> type PATH. Your will get some file locations returned. Is Python in this? If not add it using this method: https://datatofish.com/add-python-to-windows-path/ 1/ To check this has worked, open a new command prompt windows and type ‘python’ - python should now open
  2. Now tell Webots where python is. Open Webots –> tools–> preferences –> python command. enter ‘python’ of the same word used in your path. Paths are messy and frustrating, and it can take a bit of work to iron out all the issues!

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.