Skip to content

Commit 1e11100

Browse files
committed
Fix incorrect links and details on path
1 parent 0b09b9a commit 1e11100

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

programming/robot_api/comp_mode.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ title: Competition Mode
99
## What is Comp Mode
1010

1111
During a competition match a Competition Mode USB is inserted into a spare USB port on your robot (See the [kit assembly guide]({{ site.baseurl }}/tutorials/assembly) for details on the spare USB port you need to leave).
12-
This will instruct your robot that it is in competition mode and will enable a game timeout, disable the WiFi and update certain `robot` attributes.
12+
This will instruct your robot that it is in competition mode and will have a number of effects, which are detailed below.
1313

1414

1515
## Effects of Comp Mode
1616

1717
* Enabling Game timeout
1818

19-
When in competition mode the robot will automatically stop at the end of a match, where the duration of a match is defined in the [rules]({{ site.baseurl }}/tutorials/assembly).
19+
When in competition mode the robot will automatically stop at the end of a match, where the duration of a match is defined in the [rules]({{ site.baseurl }}/rules).
2020
The duration of the match is defined from when the start button is pressed.
2121

2222
* Disabling of WiFi and Web interface
2323

24-
During competition matches remote control of robots is forbidden ([rules]({{ site.baseurl }}/tutorials/assembly)), so the WiFi and web interface are disabled to ensure a fair game.
24+
During competition matches remote control of robots is forbidden ([rules]({{ site.baseurl }}/rules)), so the WiFi and web interface are disabled to ensure a fair game.
2525

2626
* Updating of match-specific `robot` attributes
2727

@@ -38,4 +38,4 @@ This will instruct your robot that it is in competition mode and will enable a g
3838

3939
The zone you are in defines which arena markers are near your scoring zone.
4040
You can use the knowledge of your zone to compensate for this, so your robot behaves correctly in all starting positions.
41-
See the [rules]({{ site.baseurl }}/tutorials/assembly) for where the scoring zones and arena markers are positioned.
41+
See the [rules]({{ site.baseurl }}/rules) for where the scoring zones and arena markers are positioned.

programming/robot_api/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ mode
7575
~~~~~
7676

7777
usbkey
78-
: The path to the USB stick.
78+
: A [`Path`](https://docs.python.org/3/library/pathlib.html#basic-use) object containing the path to the USB stick.
7979
You can use this to easily read and write files on the USB stick itself.
8080

8181
An example of how the `usbkey` attribute might be used to read a file called `my-file.txt` which is stored on the USB stick:

0 commit comments

Comments
 (0)