Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified images/content/simulator/robot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion simulator/setting_up_simulator.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@ To install Webots, you can download the latest version from the [Webots website]

## Simulator Bundle

Once you have installed these, you need to download our [simulator bundle](https://github.com/srobo/sbot_simulator/releases/download/2025.0.1/sbot-simulator-2025.0.1.zip).
Once you have installed these, you need to download our [simulator bundle](https://github.com/srobo/sbot_simulator/releases/download/2025.1.0/sbot-simulator-2025.1.0.zip).
This is a zip file containing the arena and the necessary files to allow the sr-robot3 library to be used in the simulator.

<div class="info" markdown="1">
The simulator bundle used for the [Pre-Kickstart Activities]({{ site.baseurl }}/competitor_resources/pre_kickstart_activities) is available [here](https://github.com/srobo/sbot_simulator/releases/download/2025.0.1/sbot-simulator-2025.0.1.zip).
</div>

Once this has downloaded, extract the contents to an empty folder.
This folder will contain the arena as well as the code you will develop to control the robot.

Expand Down
5 changes: 3 additions & 2 deletions simulator/simulated_robot.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The Simulated Robot

The simulator contains a pre-built robot model that can be controlled using the sr-robot3 library.
The robot is a differential drive robot with a camera and a variety of sensors to sense its environment with.

For the SR2025 competition, the robot has been equipped with a vacuum pump on on a lifting arm to pick up pallets.

<div class="info" style="display: flex;">
The simulated sensors and motors are not perfectly accurate and have artificial noise included to more closely reflect reality.
Expand All @@ -24,11 +24,12 @@ The robot has a number of boards attached to it that can be interacted with usin
These boards include:

- Power Board (serial number: `PWR`)
- OUT_H0 controls the vacuum pump. Enabling this allows the robot to pick up the pallets.
- Motor Board (serial number: `MOT`)
- The left wheel is connected to motor 0.
- The right wheel is connected to motor 1.
- Servo Board (serial number: `SERVO`)
- No servos are attached to the simulated robot.
- Servo 0 controls the lifter. Setting the position to -1 will move the lifter to the bottom position and a position of 1 will move the lifter to the top position.
- Arduino Board (serial number: `Arduino1`)
- The arduino has the [SR Firmware]({{ site.baseurl }}/programming/arduino/sr_firmware) installed. This firmware cannot be altered.
- The attached sensors are covered in the [Sensors](#attached-sensors) section.
Expand Down
6 changes: 3 additions & 3 deletions simulator/using_the_simulator.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ See the [Time Controls](#time-controls) section for how to reload the world.
</div>

As well as the logs being displayed in the console, they are also saved to a file.
This file is saved in the `zone_0` folder and has a name in the format `log-<date>.log`.
This file is saved in the `zone_0` folder and has a name in the format `log-zone-<zone>-<date>.log`.
The date is when that simulation was run.

## Points of Interest
Expand Down Expand Up @@ -148,11 +148,11 @@ This menu can be seen in the image below.

Select the option again to disable the display of the sensor paths.

<!-- ## Running multiple robots
## Using Other Zones

If the arena has multiple starting zones, you can run multiple robots in the simulator.
To test how your robot behaves in each starting zone of the arena, you can copy your robot's code to run in each corner.

In the folder where you extracted the simulator, alongside the `zone_0` folder, you may have other `zone_<number>` folders.
Such as `zone_1`, `zone_2`, etc.
Each of these folders can contain a `robot.py` file that will be run in the corresponding starting zone of the arena. -->
Each of these folders can contain a `robot.py` file that will be run in the corresponding starting zone of the arena.