You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update Python & Webots versions the simulator uses
This deliberately breaks the link to the simulation files as we
have not yet released a version for SR2024, so any link would be
incorrect relative to the documented versions.
Copy file name to clipboardExpand all lines: tutorials/setting_up_simulator.md
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,18 +11,17 @@ Setting up the simulator
11
11
You need to download and install [Webots](https://cyberbotics.com/#download) (the download is around 300MB).
12
12
This is the platform we run our simulation in.
13
13
14
-
Versions "R2022b" and "R2023a" of Webots are supported.
15
-
*Note*: versions of the simulation prior to sr2023.3 did not support Webots "R2023a".
14
+
Version "R2023b" of Webots is supported.
16
15
17
16
#### Python Version
18
17
19
18
You will also need Python installed.
20
19
21
20
| Platform | Supported Python Version |
22
21
|----------|--------------------------|
23
-
| Windows | 3.8-3.10 (64-bit) |
24
-
| macOS | 3.8-3.10|
25
-
| Linux | 3.8-3.10|
22
+
| Windows | 3.8-3.11 (64-bit) |
23
+
| macOS | 3.8-3.11|
24
+
| Linux | 3.8-3.11|
26
25
27
26
There are a small number of [external libraries]({{ site.baseurl }}/kit/brain_board/python_libraries#simulator)
28
27
which will be available to your robot code during the competition. Note that for
@@ -31,7 +30,7 @@ local development you will need to install these yourself.
31
30
### Installing the simulation
32
31
33
32
1. Create a directory, perhaps called `simulation` where you will store your robot code.
34
-
2.[Download the simulation](https://github.com/srobo/competition-simulator/releases/download/sr2023.5/competition-simulator-sr2023.5.zip), the latest version is sr2023.5, released on 2023-02-22.
33
+
2.[Download the simulation](https://github.com/srobo/competition-simulator/releases/download/TODO/competition-simulator-TODO.zip), the latest version is TODO, released on TODO.
35
34
3. Unzip the simulation as a subdirectory of the directory you created in the first step:
36
35
```
37
36
simulation
@@ -68,10 +67,10 @@ print(sys.executable)
68
67
69
68
On Windows you can set the path to the Python version to use in Webots UI via
Your Python path is likely similar to `C:\Users\<USERNAME>\AppData\Local\Programs\Python\Python39\python.exe` when using Python 3.9, where `<USERNAME>` is your login.
70
+
Your Python path is likely similar to `C:\Users\<USERNAME>\AppData\Local\Programs\Python\Python311\python.exe` when using Python 3.11, where `<USERNAME>` is your login.
72
71
73
72
On Mac you can set the path to the Python version to use via **Webots** → **Preferences** <kbd>⌘</kbd><kbd>,</kbd>.
74
-
Your Python path is likely similar to `/Library/Frameworks/Python.framework/Versions/3.9/bin/python3` when using Python 3.9.
73
+
Your Python path is likely similar to `/Library/Frameworks/Python.framework/Versions/3.11/bin/python3` when using Python 3.11.
75
74
76
75
You'll need to ensure a matching version of Python is installed. If you're still
77
76
having problems, ask for help in [`#simulator-help`][simulator-help] in
0 commit comments