Skip to content
English

Troubleshooting

First of all, check the Webots console. Most problems show an error message there.

OpenCV is not installed in the Python used by Webots. Install the required libraries in that Python. If you have several installations, the Python command setting below tells you which one Webots uses.

Webots does not know where Python is.

  1. Find it. On macOS and Linux, run which python3 in a terminal. On Windows, check that typing python in a new Command Prompt opens Python. If it does not, install Python again, ticking the option to add it to your PATH.

  2. Open the Webots preferences: Webots > Preferences on macOS, Tools > Preferences on Windows and Linux.

    The Preferences item in the Webots menu

  3. Set the path in the Python command field. On Windows, python is usually enough.

    The Python command field in the Webots preferences

The first start can take some minutes while Erebus installs libraries. If it never finishes, check the console for errors. If the automatic installation does not work, install the required libraries yourself.

The control window is a web page opened by Webots.

  1. If your browser has blocked it, open the control window while the world is open.
  2. Otherwise, make sure the Scene Tree is displayed, with Tools > Scene Tree.
  3. Find DEF MAINSUPERVISOR Robot in the Scene Tree, right-click it and choose Show Robot Window.

The Show Robot Window option in the Scene Tree

Copy the download and unzip it to a separate folder before opening the world.

This is probably due to the performance of your computer. Lowering the quality of the graphics may help:

  1. Open the Webots preferences.
  2. Open the OpenGL tab.
  3. Change the settings.

The OpenGL tab of the Webots preferences

These settings change what the cameras see, and the competition uses its own settings, so check your program with those too.

PROTO parameter 'camera_width' has no matching IS field

Section titled “PROTO parameter 'camera_width' has no matching IS field”

Erebus v26.1 shows this error in red when it loads a robot made with the current Robot Customizer. You can ignore it: the robot works, and its cameras have the resolution you chose.

See below. Also check that you loaded your robot with the right LOAD button before starting the game.

The device name in your program does not match your robot. The names of the starter robot are in the Reference. For your own robot, they are the names you set in the Robot Customizer. Check that your robot has been loaded.

Nothing happens when I report a wall token

Section titled “Nothing happens when I report a wall token”

Turn on Enable debugging in the Settings tab of the control window, and check the console. The most common causes are that the robot had not been stopped for at least 1 second, and that the coordinates were not converted to centimetres. See Communication.

The robot must be at most half a tile from the token and on the same side of the wall, and each token can only be scored once. Reporting a fake also counts as a misidentification.

Your map must contain the starting tile (5), and it can only be evaluated once. See Submitting the map.

The controller cannot connect in remote mode

Section titled “The controller cannot connect in remote mode”

See the Remote Controller guide for your operating system.

Ask on the Discord server, or open an issue. Include your operating system, your Erebus and Webots versions, and the message in the console.