Skip to content

Commit d91253a

Browse files
committed
Update simulator index page
1 parent 508cc76 commit d91253a

File tree

1 file changed

+8
-61
lines changed

1 file changed

+8
-61
lines changed

simulator/index.md

Lines changed: 8 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -8,34 +8,26 @@ title: Simulator
88

99
# Simulator
1010

11-
![]({{ site.baseurl }}/images/content/simulator/arena.png)
12-
1311
## Installation
1412

1513
### Prerequisites
1614

17-
You need to download and install [Webots](https://cyberbotics.com/#download) (the download is around 1.5GB). This is the platform we run our simulation in. Whilst we recommend version "R2021a" of Webots, and will be running competition simulations using it, "R2020b-rev1" should still work.
15+
You need to download and install [Webots](https://cyberbotics.com/#download) (the download is around 400MB). This is the platform we run our simulation in. We recommend version "R2021b" of Webots.
1816

1917
#### Python Version
2018

2119
You will also need Python installed.
2220

2321
| Platform | Supported Python Version |
2422
|----------|--------------------------|
25-
| Windows | 3.7 - 3.8 (64-bit) |
26-
| macOS | 3.7 - 3.8 |
27-
| Linux | 3.7 - 3.8 |
28-
29-
In the competition, Python 3.7 will be used.
23+
| Windows | 3.7+ (64-bit) |
24+
| macOS | 3.7+ |
25+
| Linux | 3.7+ |
3026

3127
There are a small number of [external libraries]({{ site.baseurl }}/programming/python/libraries)
3228
which will be available to your robot code during the competition. Note that for
3329
local development you will need to install these yourself.
3430

35-
If there are other libraries you would like included, please let us know
36-
in [`#programming-help`][programming-help] on the [Discord][discord] and include
37-
a link to the package on [PyPI](https://pypi.org/).
38-
3931
### Installing the simulation
4032

4133
1. [Download the simulation](https://github.com/srobo/competition-simulator/releases/download/sr2021.10/competition-simulator-sr2021.10.zip), and unzip it somewhere on your computer.
@@ -60,8 +52,8 @@ have been made with each version, please see the
6052
[list of releases](https://github.com/srobo/competition-simulator/releases).
6153

6254
[discord]: {{ site.baseurl }}/team_admin/discord
63-
[programming-help]: https://discord.com/channels/775497131057741836/777582218662510612
64-
[simulator-help]: https://discord.com/channels/775497131057741836/777584209896275988
55+
[programming-help]: https://discord.com/channels/900501415548579842/900501416269971457
56+
[simulator-help]: https://discord.com/channels/900501415548579842/900501416269971458
6557

6658
## Overview
6759

@@ -77,51 +69,6 @@ Within the Webots IDE, there are a few different panels:
7769
- [Camera Controls](https://www.cyberbotics.com/doc/guide/the-3d-window#navigation-in-the-scene)
7870
- [Graphics settings](https://www.cyberbotics.com/doc/guide/preferences#opengl) (Useful if Webots is running slowly)
7971

80-
## Robot
81-
82-
![]({{ site.baseurl }}/images/content/simulator/robot-side.png)
83-
84-
This is the pre-built robot used in the simulator, with an interface [similar](./programming) to the SR API.
85-
86-
The robot has an [array of sensors](./programming/#ruggeduino) which can be [programmed](./programming), along with a [compass]({{ site.baseurl }}/programming/sr/compass/) and a [radio system]({{ site.baseurl }}/programming/sr/radio/).
87-
88-
### Other robots
89-
90-
There is another robot in the arena, in its starting zone. By default, this robot will not move.
91-
92-
To control the other robot, you will need to provide its code:
93-
94-
Create the robot code in `zone-1/robot.py`. Your code at `robot.py` will be used for zone `0`,
95-
though you are encouraged to move your code to `zone-0/robot.py` when running multiple robots.
96-
Robots which do not have any robot code in their `zone-x` directory will not do anything.
97-
98-
```
99-
.
100-
├── competition-simulator-<version>
101-
│ ├── ...
102-
│ └─ worlds
103-
│ └── Arena.wbt
104-
├── zone-1
105-
| └─ robot.py
106-
└── robot.py
107-
```
108-
109-
## Time
110-
111-
In the simulated environment, time advances only at the pace that the simulator
112-
is run. The relation between this time and the real passage of time depends on a
113-
couple of factors: the speed the simulation is configured to run at and the
114-
ability of the computer running the simulation to process it fast enough.
115-
116-
You can configure and observe the speed the simulator is running at from the toolbar in webots:
117-
118-
![]({{ site.baseurl }}/images/content/simulator/speed-toolbar.png)
119-
120-
Here the simulation has run for 13.28 seconds, but is currently paused (the
121-
speed multiplier shows 0.00×). You could choose to step a single time increment,
122-
run the simulator at real speed (▶), or run the simulator at various faster
123-
speeds (▶▶ and ▶▶▶).
72+
## Programming
12473

125-
These differences mean that your code will need to use a different mechanism to
126-
find the current time or to sleep within the simulation. Find out more by
127-
heading over to the [programming docs on time](./programming/time).
74+
Once you have the simulator installed you can begin [programming your robot](./programming) in the simulator.

0 commit comments

Comments
 (0)