Skip to content

Commit 9c81764

Browse files
authored
Merge branch 'master' into sim-docs
2 parents 21280be + 48db959 commit 9c81764

File tree

12 files changed

+59
-99
lines changed

12 files changed

+59
-99
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ navigation:
2626
emails:
2727
2828
29-
kit-support: kit-support@studentrobotics.org
29+
kit-support: teams@studentrobotics.org
3030
3131

3232
social:

_data/sidebar_tree.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ tree:
2525
title: Ruggeduino
2626
- url: /kit/servo_board
2727
title: Servo Board
28-
- url: /kit/wifi
29-
title: WiFi
3028
- url: /kit/safety-regulations
3129
title: Safety Regulations
3230
- url: /programming/

kit/brain_board.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ We recommend using [etcher](https://etcher.io), as it's simple to use, and avail
2828

2929
![Etcher example]({{ site.baseurl }}/images/content/kit/etcher.png)
3030

31-
<div class="info">
31+
<div class="info" markdown="1">
3232
If you choose to use a tool other than Etcher, you may need to extract the `srobo-robot-2022.0.0.img.xz` to `srobo-robot-2022.0.0.img`. There are many tools available for this, e.g. [7-zip](http://www.7-zip.org/).
3333
</div>
3434

kit/index.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ The boards provided are as follows; more details can be found on their individua
2121
* [Ruggeduino (including two screw shields)](/docs/kit/ruggeduino)
2222
* [Servo Board](/docs/kit/servo_board)
2323

24-
The WiFi
25-
-------------------
26-
27-
The kit can be controlled over [WiFi](/docs/kit/wifi). You can use any device to connect to the WiFi.
28-
2924
Ancillary Parts
3025
---------------
3126

kit/power_board.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Controls
6565
| Control | Use
6666
|----------------|----------------------------
6767
| ON\|OFF | Turns the power board on, when used in conjunction with an external switch
68-
| START | Starts your program (can be used instead of the robot WiFi interface)
68+
| START | Starts your program
6969

7070

7171
Case Dimensions

kit/wifi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ You cannot use this screen when code is running.
6262

6363
![The robot interface's logs screen]({{ site.baseurl }}/images/content/kit/remote-interface/logs-screen.png)
6464

65-
This screen allows you to see all messages from your code sent by `print`
65+
This screen allows you to see all messages from your code sent by `print(...)`
6666
statements (and anything else that outputs to standard output or standard
6767
error). It will also show messages from the initialisation of the robot's
6868
hardware, as well as any errors that occurred when running your code.

programming/getting_code_on_the_robot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ To re-run your program, simply remove the USB stick and plug it back in again an
3636

3737
## Robot Logs
3838

39-
When your program runs on the robot, the output of `print(...)` calls and any
40-
errors which occur are written to a log file on the USB stick as `log.txt`.
39+
When your program runs on the robot, the output of `print(...)` statements and
40+
any errors which occur are written to a log file on the USB stick as `log.txt`.

programming/python/libraries.md

Lines changed: 37 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -11,69 +11,41 @@ Robot Kit
1111

1212
The following python libraries are installed and available for use in your robot's software:
1313

14-
* [Babel 1.3.3](http://babel.pocoo.org/)
15-
* [backports 1.0](https://pypi.python.org/pypi/backports/1.0)
16-
* [backports-ssl_match_hostname 3.4.0.2](https://pypi.python.org/pypi/backports.ssl_match_hostname)
17-
* [Blivet 0.23.9](http://fedoraproject.org/wiki/Blivet)
18-
* [chardet 2.0.1](https://pypi.python.org/pypi/chardet)
19-
* [dateutil 1.5](https://labix.org/python-dateutil)
20-
* [decorator 3.4.0](https://pypi.python.org/pypi/decorator)
21-
* [di 0.3](https://apps.fedoraproject.org/packages/python-di)
22-
* [flask 0.10.1](http://flask.pocoo.org)
23-
* [hawkey 0.4.18](https://apps.fedoraproject.org/packages/python-hawkey)
24-
* [iniparse 0.4](http://code.google.com/p/iniparse)
25-
* [inotify 0.9.4](http://pyinotify.sourceforge.net)
26-
* [IPy 0.75](http://pypi.python.org/pypi/IPy)
27-
* [itsdangerous 0.23](http://pythonhosted.org/itsdangerous/)
28-
* [jinja2 2.7.3](http://jinja.pocoo.org)
29-
* [Kitchen 1.1.1](https://pypi.python.org/pypi/kitchen)
30-
* [libcomps 0.1.6](https://github.com/midnightercz/libcomps)
31-
* [librepo 1.7.5](http://github.com/Tojaj/librepo)
32-
* [markupsafe 0.18](https://pypi.python.org/pypi/MarkupSafe)
33-
* [matplotlib 1.3.1](http://matplotlib.org/)
34-
* [meh 0.27](https://apps.fedoraproject.org/packages/python-meh)
35-
* [mglob 0.4](https://pypi.python.org/pypi/mglob)
36-
* [mpmath 0.18](https://code.google.com/p/mpmath/)
37-
* [nose 1.3.0](http://nose.readthedocs.org/)
38-
* [nss 0.15.0](https://pypi.python.org/pypi/python-nss)
39-
* [ntplib 0.3.1](https://pypi.python.org/pypi/ntplib/)
40-
* [numexpr 2.2.2](https://github.com/pydata/numexpr)
41-
* [NumPy 1.8.2](http://www.numpy.org/)
42-
* [pandas 0.10.0](http://pandas.pydata.org/)
43-
* [pexpect 3.1](http://pexpect.readthedocs.org/en/latest/)
44-
* [pillow 2.2.1](http://pillow.readthedocs.org/)[^1]
45-
* [pwquality 1.2.3](https://apps.fedoraproject.org/packages/python-pwquality)
46-
* [pycurl 7.19.3](http://pycurl.sourceforge.net/)
47-
* [Pygments 1.6](http://pygments.org/)
48-
* [pygobject2 2.28.6](https://apps.fedoraproject.org/packages/pygobject2)
49-
* [pygpgme 0.3](https://pypi.python.org/pypi/pygpgme/0.3)
50-
* [pykickstart 1.99.48](https://fedoraproject.org/wiki/Pykickstart)[^2]
51-
* [pyliblzma 0.5.3](https://pypi.python.org/pypi/pyliblzma)
52-
* [Pyparsing 2.0.1](http://pyparsing.wikispaces.com/)
53-
* [PyParted 3.9](https://fedorahosted.org/pyparted/)
54-
* [pySerial 2.6](http://pyserial.sourceforge.net/)
55-
* [pytalloc 2.1.0](https://apps.fedoraproject.org/packages/pytalloc)
56-
* [pytz 2012d-5](http://pytz.sourceforge.net/)
57-
* [pyudev 0.15](https://pyudev.readthedocs.org)
58-
* [PyUSB 1.0.0](http://pyusb.sourceforge.net/)
59-
* [pyxattr 0.5.1](http://pyxattr.k1024.org/)
60-
* [PyXDG 0.25](http://freedesktop.org/wiki/Software/pyxdg)
61-
* [PyYAML 3.10](http://pyyaml.org/)
62-
* [SciPy 0.12.1](http://www.scipy.org/)
63-
* [simplegeneric 0.8](https://pypi.python.org/pypi/simplegeneric)
64-
* [simplejson 3.5.3](https://pypi.python.org/pypi/simplejson)
65-
* [six 1.7.3](https://pypi.python.org/pypi/six)
66-
* [slip 0.6.0](https://fedorahosted.org/python-slip/)
67-
* [slip-dbus 0.6.0](https://apps.fedoraproject.org/packages/python-slip-dbus)
68-
* [sssdconfig 1.11.6](https://apps.fedoraproject.org/packages/python-sssdconfig)
69-
* [SymPy 0.7.5](http://sympy.org/)
70-
* [tables 3.0.0](https://pypi.python.org/pypi/tables)
71-
* [Tornado 2.2.1](http://www.tornadoweb.org/)
72-
* [urlgrabber 3.10.1](http://urlgrabber.baseurl.org)
73-
* [Werkzeug 0.9.4](http://werkzeug.pocoo.org/)
74-
* [ZeroMQ 13.0.2](http://zeromq.org/bindings:python)
14+
* [astoria 0.7.0](https://pypi.org/project/astoria)
15+
* [cached-property 1.5.2](https://pypi.org/project/cached-property)
16+
* [click 8.0.1](https://pypi.org/project/click)
17+
* [cycler 0.10.0](https://pypi.org/project/cycler)
18+
* [dateutil 2.8.2](https://pypi.org/project/python-dateutil/)
19+
* dateutil-zoneinfo 2.8.2
20+
* [dbus-next 0.2.3](https://pypi.org/project/dbus-next)
21+
* [docopt 0.6.2](https://pypi.org/project/docopt)
22+
* [gmqtt 0.6.10](https://pypi.org/project/gmqtt)
23+
* [gpg 1.16.0](https://pypi.org/project/gpg)
24+
* [iniparse 0.5](https://pypi.org/project/iniparse)
25+
* [j5 0.13.0](https://pypi.org/project/j5)
26+
* [j5-zoloto 0.1.0](https://pypi.org/project/j5-zoloto)
27+
* [kiwisolver 1.3.2](https://pypi.org/project/kiwisolver)
28+
* [matplotlib 3.4.1](https://pypi.org/project/matplotlib)
29+
* [numpy 1.21.2](https://pypi.org/project/numpy)
30+
* opencv 4.5.2
31+
* [pandas 1.3.3](https://pypi.org/project/pandas)
32+
* pkg-resources 57.4.0
33+
* [pydantic 1.8.2](https://pypi.org/project/pydantic)
34+
* [pygobject 3.40.1](https://pypi.org/project/PyGObject/)
35+
* [pyparsing 2.4.7](https://pypi.org/project/pyparsing)
36+
* [pyquaternion 0.9.9](https://pypi.org/project/pyquaternion)
37+
* [pyserial 3.5](https://pypi.org/project/pyserial)
38+
* [pytz 2021.1](https://pypi.org/project/pytz)
39+
* [pyusb 1.2.1](https://pypi.org/project/pyusb)
40+
* [pyyaml 5.4.1](https://pypi.org/project/PyYAML/)
41+
* [rpm 4.16.1.3](https://pypi.org/project/rpm)
42+
* [setuptools 57.4.0](https://pypi.org/project/setuptools)
43+
* [six 1.16.0](https://pypi.org/project/six)
44+
* [sr-robot3 2022.0.1](https://pypi.org/project/sr.robot3/)
45+
* [toml 0.10.2](https://pypi.org/project/toml)
46+
* [typing-extensions 3.10.0.0](https://pypi.org/project/typing-extensions)
47+
* [udiskie 2.3.3](https://pypi.org/project/udiskie)
48+
* udiskie-locale-en-us 2.3.3
49+
* [zoloto 0.7.1](https://pypi.org/project/zoloto)
7550

76-
[^1]: A maintained fork of [PIL](http://www.pythonware.com/products/pil/)
77-
[^2]: No relation to our Kickstart event
78-
79-
If you wish to use a library that isn't listed above, get in contact with us on the forums and have a chat with us about it.
51+
If you wish to use a library that isn't listed above, get in contact with us on Discord and have a chat with us about it.

resources/troubleshooter/data.json

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@
3737
{
3838
"answer": "Vision",
3939
"nextquestion": "vision"
40-
},
41-
{
42-
"answer": "IDE",
43-
"nextquestion": "ide"
4440
}
4541
]
4642
},
@@ -433,7 +429,7 @@
433429
},
434430
{
435431
"answer": "The camera takes a long time to take a photo.",
436-
"message": "Try reducing the resolution in your code, you'll have to find an optimum resolution for your robot to get the best speed and detail."
432+
"message": "The vision system always takes longer for the first photo. Consider taking a photo when your robot first starts."
437433
}
438434
]
439435
},
@@ -442,24 +438,24 @@
442438
"answers": [
443439
{
444440
"answer": "Yes",
445-
"message": "Make sure the marker is flat, well-lit and there a visible border around the pattern, and if your robot is moving you should check the camera is not shaking.<br />If you still cannot pickup any markers there could be a problem with your code, consider posting on the <a href=\"/forums\" target=\"_blank\">forums</a>."
441+
"nextquestion": "vision-markers-dont-get-picked-up-good-webcam"
446442
},
447443
{
448444
"answer": "No",
449445
"message": "There may be an issue with your Webcam, consider posting on the <a href=\"/forums\" target=\"_blank\">forums</a>."
450446
}
451447
]
452448
},
453-
"ide": {
454-
"question": "Choose the option that best describes your situation.",
449+
"vision-markers-dont-get-picked-up-good-webcam": {
450+
"question": "Is the marker ID listed in the rules as in use?",
455451
"answers": [
456452
{
457-
"answer": "My code does not check correctly.",
458-
"message": "Click on the 'Error' tab to see detailed explanations of the errors."
453+
"answer": "Yes",
454+
"message": "Make sure the marker is flat, well-lit and there a visible border around the pattern, and if your robot is moving you should check the camera is not shaking.<br />If you still cannot pickup any markers there could be a problem with your code, consider posting on the <a href=\"/forums\" target=\"_blank\">forums</a>."
459455
},
460456
{
461-
"answer": "My latest code is not exported to the zip file.",
462-
"message": "Make sure you've pressed save before pressing export."
457+
"answer": "No",
458+
"message": "The robot will ignore marker IDs that are not in use for the game. Try using a marker that is listed in the rules."
463459
}
464460
]
465461
}

troubleshooting/index.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ Explain it to someone else
3636

3737
Check the log file for errors
3838
: If your program has an error in it, it will stop running or not run at all.
39-
Check [the log file](/docs/troubleshooting/python#ReadingTheLogs) either through the
40-
robot [WiFi](/docs/kit/wifi) interface or look at the log file on the USB stick to
41-
see any error reports.
39+
Check [the log file](/docs/troubleshooting/python#ReadingTheLogs) on the USB
40+
stick to see any error reports.
4241

4342
Print all the things
4443
: Adding `print` statements
@@ -48,10 +47,9 @@ Print all the things
4847
commonly used for this in electronics hardware, and this is part
4948
of the reason our boards are covered in them.
5049

51-
On the robots the output from any `print` statements will end up
50+
On the robots the output from any `print(...)` statements will end up
5251
in [the log file](/docs/troubleshooting/python#ReadingTheLogs), which can
53-
be viewed either in the robot [WiFi](/docs/kit/wifi) interface or on
54-
the USB stick.
52+
be viewed on the USB stick.
5553

5654
Check the docs
5755
: It's very easy to end up thinking that you know how something works

0 commit comments

Comments
 (0)