@@ -3,74 +3,49 @@ layout: page
3
3
title : Available Python Libraries
4
4
---
5
5
6
+ <!-- Simulator libraries https://github.com/srobo/competition-simulator/blob/main/libraries.txt -->
7
+ <!-- Robot image libraries https://github.com/srobo/robot-image/blob/main/files/python/libraries.txt -->
8
+ <!-- Robot image requirements https://github.com/srobo/robot-image/blob/main/files/python/requirements.txt -->
6
9
7
10
# Available Python Libraries
8
11
12
+ If you wish to use a library that isn't in the list, get in contact with us on Discord and have a chat with us about it.
13
+
14
+ <div class =" info " markdown =" 1 " >
15
+ Note that for local development in the simulator you will need to install the libraries yourself.
16
+ Look at the guide on [ setting up the simulator] ({{ site.baseurl }}/tutorials/setting_up_simulator) to find out how to do this.
17
+ </div >
18
+
9
19
10
20
## Robot Kit
11
21
12
22
The following python libraries are installed and available for use in your robot's software:
13
23
14
24
<!-- cspell:disable -->
15
- * [ april-vision 1.0.2] ( https://pypi.org/project/april-vision )
16
- * [ astoria 0.11.1] ( https://pypi.org/project/astoria )
17
- * [ cached-property 1.5.2] ( https://pypi.org/project/cached-property )
18
- * [ click 8.1.2] ( https://pypi.org/project/click )
19
- * [ cycler 0.11.0] ( https://pypi.org/project/cycler )
20
- * [ dateutil 2.8.2] ( https://pypi.org/project/python-dateutil )
21
- * [ debugpy 1.6.3] ( https://pypi.org/project/debugpy )
22
- * [ dbus-next 0.2.3] ( https://pypi.org/project/dbus-next )
23
- * [ docopt 0.6.2] ( https://pypi.org/project/docopt )
24
- * [ gmqtt 0.6.11] ( https://pypi.org/project/gmqtt )
25
- * [ gpg 1.17.1] ( https://pypi.org/project/gpg )
26
- * [ iniparse 0.5] ( https://pypi.org/project/iniparse )
27
- * [ j5 1.1.2] ( https://pypi.org/project/j5 )
28
- * [ kchd 0.4.1] ( https://pypi.org/project/kchd )
29
- * [ matplotlib 3.5.1] ( https://pypi.org/project/matplotlib )
30
- * [ numpy 1.22.3] ( https://pypi.org/project/numpy )
31
- * opencv 4.5.5
32
- * [ paho-mqtt 1.6.1] ( https://pypi.org/project/paho-mqtt )
33
- * [ pandas 1.4.2] ( https://pypi.org/project/pandas )
34
- * [ Pillow 9.0.1] ( https://pypi.org/project/Pillow )
35
- * [ prompt-toolkit 3.0.24] ( https://pypi.org/project/prompt-toolkit )
36
- * [ pyapriltags 3.3.0.post2] ( https://pypi.org/project/pyapriltags )
37
- * [ pydantic 1.9.1] ( https://pypi.org/project/pydantic )
38
- * [ PyGObject 3.42.0] ( https://pypi.org/project/PyGObject )
39
- * [ pyparsing 3.0.7] ( https://pypi.org/project/pyparsing )
40
- * [ pyquaternion 0.9.9] ( https://pypi.org/project/pyquaternion )
41
- * [ pyserial 3.5] ( https://pypi.org/project/pyserial )
42
- * [ pytz 2022.1] ( https://pypi.org/project/pytz )
43
- * [ pyudev 0.23.2] ( https://pypi.org/project/pyudev )
44
- * [ pyusb 1.2.1] ( https://pypi.org/project/pyusb )
45
- * [ pyyaml 6.0] ( https://pypi.org/project/PyYAML )
46
- * [ RPi.GPIO 0.7.0] ( https://pypi.org/project/rpi.gpio )
47
- * [ rtui 0.1.1] ( https://pypi.org/project/rtui )
48
- * [ setuptools 59.5.0] ( https://pypi.org/project/setuptools )
49
- * [ six 1.16.0] ( https://pypi.org/project/six )
50
- * [ sr.robot3 2023.2.0] ( https://pypi.org/project/sr.robot3 )
51
- * [ tomli 2.0.1] ( https://pypi.org/project/tomli )
52
- * [ tomli-w 1.0.0] ( https://pypi.org/project/tomli-w )
53
- * [ typing-extensions 3.10.0.0] ( https://pypi.org/project/typing-extensions )
54
- * [ udiskie 2.3.3] ( https://pypi.org/project/udiskie )
25
+ * [ debugpy 1.7.0] ( https://pypi.org/project/debugpy )
26
+ * [ flask 2.3.3] ( https://pypi.org/project/flask )
27
+ * [ matplotlib 3.7.2] ( https://pypi.org/project/matplotlib )
28
+ * [ networkx 3.1] ( https://pypi.org/project/networkx )
29
+ * [ numpy 1.24.4] ( https://pypi.org/project/numpy )
30
+ * [ opencv-python-headless 4.8.0.76] ( https://pypi.org/project/opencv-python-headless )
31
+ * [ pandas 2.0.3] ( https://pypi.org/project/pandas )
32
+ * [ pillow 10.0.0] ( https://pypi.org/project/pillow )
33
+ * [ scikit-learn 1.3.0] ( https://pypi.org/project/scikit-learn )
34
+ * [ scipy 1.10.1] ( https://pypi.org/project/scipy )
35
+ * [ shapely 2.0.1] ( https://pypi.org/project/shapely )
36
+ * [ sr-robot3 2024.0.0] ( https://pypi.org/project/sr-robot3 )
55
37
<!-- cspell:enable -->
56
38
57
- 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.
58
39
40
+ ## Simulator differences
59
41
60
- ## Simulator
42
+ Generally we will try to keep the libraries available in the simulator the same as what is available on the physical robot.
43
+ The list below outlines the differences.
61
44
62
- The following libraries will be available to your robot code during the
63
- competition. Note that for local development you will need to install these
64
- yourself.
65
-
66
- <!-- updating this list? Also update https://github.com/srobo/competition-simulator/blob/master/libraries.txt -->
67
45
<!-- cspell:disable -->
68
-
69
- * [ matplotlib 3.5.1] ( https://pypi.org/project/matplotlib/3.5.1/ )
70
- * [ numpy 1.22.3] ( https://pypi.org/project/numpy/1.22.3/ )
71
- * [ pandas 1.4.2] ( https://pypi.org/project/pandas/1.4.2/ )
72
- * [ typing-extensions 3.10.0.0] ( https://pypi.org/project/typing-extensions/3.10.0.0/ )
46
+ * ` debugpy ` is not available in the simulator
47
+ * ` flask ` is not available in the simulator
48
+ * ` opencv ` is not available in the simulator
49
+ * ` sr-robot3 ` that comes with the simulator has the same API but is different to the one available on pypi
73
50
<!-- cspell:enable -->
74
51
75
- If there are other libraries you would like included, please get in contact with
76
- us on Discord and have a chat with us about it.
0 commit comments