Should you wish to run the simulator locally, this is fine, however it will drastically limit your ability to collaborate with the rest of your team.
You need to download and install Webots R2021b (the download is around 0.5 GB). This is the platform we run our simulation in.
You will also need Python 3.9 installed.
There are a small number of external libraries which will be available to your robot code during the competition. For local development you will need to install these yourself.
If you are installing python on Windows, you will need to add python to
PATH otherwise Webots will not be able to find the python installation
You may receive a warning about your computer’s GPU not being good enough, which can be ignored
If Webots is picking up the incorrect version of Python, you’ll need to change it. This can be done using Tools > Preferences > General > Python command. You’ll need to ensure a matching version of Python is installed.
Within the Webots IDE, there are a few different panels:
In the simulated environment, time advances only at the pace that the simulator is run. The relation between this time and the real passage of time depends on a couple of factors: the speed the simulation is configured to run at and the ability of the computer running the simulation to process it fast enough.
You can configure and observe the speed the simulator is running at from the toolbar in Webots:
Here the simulation has run for 13.28 seconds, but is currently paused (the speed multiplier shows 0.00×). You could choose to step a single time increment, run the simulator at real speed (▶), or run the simulator at various faster speeds (▶▶ and ▶▶▶).
These differences mean that your code will need to use a different mechanism to find the current time or to sleep within the simulation. Find out more by heading over to the programming docs on time.