robocad-py 1.0.2.2__tar.gz → 1.0.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. robocad-py-1.0.2.4/PKG-INFO +43 -0
  2. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/robocad/internal/studica/connection.py +1 -1
  3. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/robocad/internal/studica/connection_base.py +2 -2
  4. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/robocad/internal/studica/connection_real.py +2 -2
  5. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/robocad/internal/studica/connection_sim.py +1 -1
  6. robocad-py-1.0.2.4/robocad_py.egg-info/PKG-INFO +43 -0
  7. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/setup.py +1 -1
  8. robocad-py-1.0.2.2/PKG-INFO +0 -42
  9. robocad-py-1.0.2.2/robocad_py.egg-info/PKG-INFO +0 -42
  10. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/CHANGELOG.md +0 -0
  11. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/LICENSE +0 -0
  12. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/MANIFEST.in +0 -0
  13. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/robocad/__init__.py +0 -0
  14. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/robocad/common.py +0 -0
  15. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/robocad/internal/__init__.py +0 -0
  16. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/robocad/internal/logger.py +0 -0
  17. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/robocad/internal/studica/COM.py +0 -0
  18. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/robocad/internal/studica/SPI.py +0 -0
  19. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/robocad/internal/studica/__init__.py +0 -0
  20. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/robocad/internal/studica/shared.py +0 -0
  21. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/robocad/shufflecad/__init__.py +0 -0
  22. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/robocad/shufflecad/connections.py +0 -0
  23. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/robocad/shufflecad/shufflecad.py +0 -0
  24. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/robocad/shufflecad/shufflecad_holder.py +0 -0
  25. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/robocad/studica.py +0 -0
  26. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/robocad_py.egg-info/SOURCES.txt +0 -0
  27. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/robocad_py.egg-info/dependency_links.txt +0 -0
  28. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/robocad_py.egg-info/requires.txt +0 -0
  29. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/robocad_py.egg-info/top_level.txt +0 -0
  30. {robocad-py-1.0.2.2 → robocad-py-1.0.2.4}/setup.cfg +0 -0
@@ -0,0 +1,43 @@
1
+ Metadata-Version: 2.1
2
+ Name: robocad-py
3
+ Version: 1.0.2.4
4
+ Summary: python lib for real and virtual robots
5
+ Home-page: https://github.com/Soft-V/robocad-py
6
+ Author: Airat Abdrakov
7
+ Author-email: softvery@yandex.ru
8
+ License: MIT
9
+ Keywords: simulator,robotics,robot,3d,raspberry,control
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Education
12
+ Classifier: Operating System :: Microsoft :: Windows :: Windows 10
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Programming Language :: Python :: 3
15
+ License-File: LICENSE
16
+
17
+ Python library for real and virtual robots
18
+
19
+ # Change Log
20
+
21
+ ## 0.0.0.1
22
+ - First Release
23
+
24
+ ## 0.0.0.2
25
+ - Real camera exception checker added
26
+
27
+ ## 0.0.0.5
28
+ - Hope this works
29
+
30
+ ## 0.0.0.6
31
+ - Servo motors should work now
32
+
33
+ ## 0.0.0.7
34
+ - Thread joins added
35
+
36
+ ## 0.0.0.8
37
+ - Thread joins fixed :)
38
+
39
+ ## 0.0.0.9
40
+ - Thread joins fixed 2 :)
41
+
42
+ ## 0.0.1.1
43
+ - Library fully changed according to the new requirements
@@ -152,4 +152,4 @@ class ParseChannels:
152
152
  def parse_studica_channel(data: bytes) -> tuple:
153
153
  if len(data) < 52:
154
154
  return tuple()
155
- return struct.unpack('<4I2f4Hf16B', data)
155
+ return struct.unpack('<4i2f4Hf16B', data)
@@ -13,5 +13,5 @@ class ConnectionBase(ABC):
13
13
  pass
14
14
 
15
15
  @abstractmethod
16
- def get_camera(self) -> cv2.typing.MatLike:
17
- pass
16
+ def get_camera(self):
17
+ pass
@@ -34,7 +34,7 @@ class ConnectionReal(ConnectionBase):
34
34
  VMXSPI.stop_th = True
35
35
  VMXSPI.th.join()
36
36
 
37
- def get_camera(self) -> cv2.typing.MatLike:
37
+ def get_camera(self):
38
38
  try:
39
39
  ret, frame = self.__camera_instance.read()
40
40
  if ret:
@@ -52,4 +52,4 @@ class ConnectionReal(ConnectionBase):
52
52
  Common.temperature = cpu_temp.temperature
53
53
  Common.memory_load = psutil.virtual_memory().percent
54
54
  Common.cpu_load = psutil.cpu_percent(interval=0.5)
55
- time.sleep(0.5)
55
+ time.sleep(0.5)
@@ -43,7 +43,7 @@ class ConnectionSim(ConnectionBase):
43
43
  self.__listen_channel.stop_listening()
44
44
  self.__camera_channel.stop_listening()
45
45
 
46
- def get_camera(self) -> cv2.typing.MatLike:
46
+ def get_camera(self):
47
47
  camera_data = self.__camera_channel.out_bytes
48
48
  if len(camera_data) == 921600:
49
49
  nparr = np.frombuffer(camera_data, np.uint8)
@@ -0,0 +1,43 @@
1
+ Metadata-Version: 2.1
2
+ Name: robocad-py
3
+ Version: 1.0.2.4
4
+ Summary: python lib for real and virtual robots
5
+ Home-page: https://github.com/Soft-V/robocad-py
6
+ Author: Airat Abdrakov
7
+ Author-email: softvery@yandex.ru
8
+ License: MIT
9
+ Keywords: simulator,robotics,robot,3d,raspberry,control
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Education
12
+ Classifier: Operating System :: Microsoft :: Windows :: Windows 10
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Programming Language :: Python :: 3
15
+ License-File: LICENSE
16
+
17
+ Python library for real and virtual robots
18
+
19
+ # Change Log
20
+
21
+ ## 0.0.0.1
22
+ - First Release
23
+
24
+ ## 0.0.0.2
25
+ - Real camera exception checker added
26
+
27
+ ## 0.0.0.5
28
+ - Hope this works
29
+
30
+ ## 0.0.0.6
31
+ - Servo motors should work now
32
+
33
+ ## 0.0.0.7
34
+ - Thread joins added
35
+
36
+ ## 0.0.0.8
37
+ - Thread joins fixed :)
38
+
39
+ ## 0.0.0.9
40
+ - Thread joins fixed 2 :)
41
+
42
+ ## 0.0.1.1
43
+ - Library fully changed according to the new requirements
@@ -10,7 +10,7 @@ classifiers = [
10
10
 
11
11
  setup(
12
12
  name='robocad-py',
13
- version='1.0.2.2',
13
+ version='1.0.2.4',
14
14
  description='python lib for real and virtual robots',
15
15
  long_description="Python library for real and virtual robots" + '\n\n' + open('CHANGELOG.md').read(),
16
16
  url='https://github.com/Soft-V/robocad-py',
@@ -1,42 +0,0 @@
1
- Metadata-Version: 1.1
2
- Name: robocad-py
3
- Version: 1.0.2.2
4
- Summary: python lib for real and virtual robots
5
- Home-page: https://github.com/Soft-V/robocad-py
6
- Author: Airat Abdrakov
7
- Author-email: softvery@yandex.ru
8
- License: MIT
9
- Description: Python library for real and virtual robots
10
-
11
- # Change Log
12
-
13
- ## 0.0.0.1
14
- - First Release
15
-
16
- ## 0.0.0.2
17
- - Real camera exception checker added
18
-
19
- ## 0.0.0.5
20
- - Hope this works
21
-
22
- ## 0.0.0.6
23
- - Servo motors should work now
24
-
25
- ## 0.0.0.7
26
- - Thread joins added
27
-
28
- ## 0.0.0.8
29
- - Thread joins fixed :)
30
-
31
- ## 0.0.0.9
32
- - Thread joins fixed 2 :)
33
-
34
- ## 0.0.1.1
35
- - Library fully changed according to the new requirements
36
- Keywords: simulator,robotics,robot,3d,raspberry,control
37
- Platform: UNKNOWN
38
- Classifier: Development Status :: 5 - Production/Stable
39
- Classifier: Intended Audience :: Education
40
- Classifier: Operating System :: Microsoft :: Windows :: Windows 10
41
- Classifier: License :: OSI Approved :: MIT License
42
- Classifier: Programming Language :: Python :: 3
@@ -1,42 +0,0 @@
1
- Metadata-Version: 1.1
2
- Name: robocad-py
3
- Version: 1.0.2.2
4
- Summary: python lib for real and virtual robots
5
- Home-page: https://github.com/Soft-V/robocad-py
6
- Author: Airat Abdrakov
7
- Author-email: softvery@yandex.ru
8
- License: MIT
9
- Description: Python library for real and virtual robots
10
-
11
- # Change Log
12
-
13
- ## 0.0.0.1
14
- - First Release
15
-
16
- ## 0.0.0.2
17
- - Real camera exception checker added
18
-
19
- ## 0.0.0.5
20
- - Hope this works
21
-
22
- ## 0.0.0.6
23
- - Servo motors should work now
24
-
25
- ## 0.0.0.7
26
- - Thread joins added
27
-
28
- ## 0.0.0.8
29
- - Thread joins fixed :)
30
-
31
- ## 0.0.0.9
32
- - Thread joins fixed 2 :)
33
-
34
- ## 0.0.1.1
35
- - Library fully changed according to the new requirements
36
- Keywords: simulator,robotics,robot,3d,raspberry,control
37
- Platform: UNKNOWN
38
- Classifier: Development Status :: 5 - Production/Stable
39
- Classifier: Intended Audience :: Education
40
- Classifier: Operating System :: Microsoft :: Windows :: Windows 10
41
- Classifier: License :: OSI Approved :: MIT License
42
- Classifier: Programming Language :: Python :: 3
File without changes
File without changes
File without changes
File without changes