robocad-py 1.3.3.0__tar.gz → 1.3.5.0__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 (29) hide show
  1. {robocad_py-1.3.3.0/robocad_py.egg-info → robocad_py-1.3.5.0}/PKG-INFO +4 -29
  2. {robocad_py-1.3.3.0 → robocad_py-1.3.5.0}/robocad/algaritm.py +4 -2
  3. robocad_py-1.3.5.0/robocad/internal/common/__init__.py +0 -0
  4. {robocad_py-1.3.3.0 → robocad_py-1.3.5.0}/robocad/shufflecad.py +4 -2
  5. {robocad_py-1.3.3.0 → robocad_py-1.3.5.0}/robocad/studica.py +4 -2
  6. {robocad_py-1.3.3.0 → robocad_py-1.3.5.0/robocad_py.egg-info}/PKG-INFO +4 -29
  7. {robocad_py-1.3.3.0 → robocad_py-1.3.5.0}/setup.py +4 -1
  8. robocad_py-1.3.3.0/CHANGELOG.md +0 -28
  9. /robocad_py-1.3.3.0/robocad/__init__.py → /robocad_py-1.3.5.0/CHANGELOG.md +0 -0
  10. {robocad_py-1.3.3.0 → robocad_py-1.3.5.0}/LICENSE +0 -0
  11. {robocad_py-1.3.3.0 → robocad_py-1.3.5.0}/MANIFEST.in +0 -0
  12. {robocad_py-1.3.3.0/robocad/internal → robocad_py-1.3.5.0/robocad}/__init__.py +0 -0
  13. {robocad_py-1.3.3.0/robocad/internal/common → robocad_py-1.3.5.0/robocad/internal}/__init__.py +0 -0
  14. {robocad_py-1.3.3.0 → robocad_py-1.3.5.0}/robocad/internal/algaritm_internal.py +0 -0
  15. {robocad_py-1.3.3.0 → robocad_py-1.3.5.0}/robocad/internal/common/connection.py +0 -0
  16. {robocad_py-1.3.3.0 → robocad_py-1.3.5.0}/robocad/internal/common/connection_base.py +0 -0
  17. {robocad_py-1.3.3.0 → robocad_py-1.3.5.0}/robocad/internal/common/connection_real.py +0 -0
  18. {robocad_py-1.3.3.0 → robocad_py-1.3.5.0}/robocad/internal/common/connection_sim.py +0 -0
  19. {robocad_py-1.3.3.0 → robocad_py-1.3.5.0}/robocad/internal/common/lidar.py +0 -0
  20. {robocad_py-1.3.3.0 → robocad_py-1.3.5.0}/robocad/internal/common/robot.py +0 -0
  21. {robocad_py-1.3.3.0 → robocad_py-1.3.5.0}/robocad/internal/common/robot_configuration.py +0 -0
  22. {robocad_py-1.3.3.0 → robocad_py-1.3.5.0}/robocad/internal/common/shared.py +0 -0
  23. {robocad_py-1.3.3.0 → robocad_py-1.3.5.0}/robocad/internal/common/updaters.py +0 -0
  24. {robocad_py-1.3.3.0 → robocad_py-1.3.5.0}/robocad/internal/studica_internal.py +0 -0
  25. {robocad_py-1.3.3.0 → robocad_py-1.3.5.0}/robocad_py.egg-info/SOURCES.txt +0 -0
  26. {robocad_py-1.3.3.0 → robocad_py-1.3.5.0}/robocad_py.egg-info/dependency_links.txt +0 -0
  27. {robocad_py-1.3.3.0 → robocad_py-1.3.5.0}/robocad_py.egg-info/requires.txt +0 -0
  28. {robocad_py-1.3.3.0 → robocad_py-1.3.5.0}/robocad_py.egg-info/top_level.txt +0 -0
  29. {robocad_py-1.3.3.0 → robocad_py-1.3.5.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: robocad-py
3
- Version: 1.3.3.0
3
+ Version: 1.3.5.0
4
4
  Summary: python lib for real and virtual robots
5
5
  Home-page: https://github.com/Soft-V/robocad-py
6
6
  Author: Airat Abdrakov
@@ -10,6 +10,9 @@ Keywords: simulator,robotics,robot,3d,raspberry,control,robocad
10
10
  Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Intended Audience :: Education
12
12
  Classifier: Operating System :: Microsoft :: Windows :: Windows 10
13
+ Classifier: Operating System :: Android
14
+ Classifier: Operating System :: POSIX :: Linux
15
+ Classifier: Operating System :: iOS
13
16
  Classifier: License :: OSI Approved :: MIT License
14
17
  Classifier: Programming Language :: Python :: 3
15
18
  License-File: LICENSE
@@ -29,31 +32,3 @@ Dynamic: summary
29
32
 
30
33
  Python library for real and virtual robots
31
34
 
32
- # Change Log
33
-
34
- ## 0.0.0.1
35
- - First Release
36
-
37
- ## 0.0.0.2
38
- - Real camera exception checker added
39
-
40
- ## 0.0.0.5
41
- - Hope this works
42
-
43
- ## 0.0.0.6
44
- - Servo motors should work now
45
-
46
- ## 0.0.0.7
47
- - Thread joins added
48
-
49
- ## 0.0.0.8
50
- - Thread joins fixed :)
51
-
52
- ## 0.0.0.9
53
- - Thread joins fixed 2 :)
54
-
55
- ## 0.0.1.1
56
- - Library fully changed according to the new requirements
57
-
58
- ## 1.0.3.0
59
- - Fully rewritten
@@ -1,4 +1,5 @@
1
1
  import signal
2
+ import threading
2
3
 
3
4
  from .internal.common.robot import Robot
4
5
  from .internal.common.robot_configuration import DefaultAlgaritmConfiguration
@@ -13,8 +14,9 @@ class RobotAlgaritm(Robot):
13
14
  self.__algaritm_internal = AlgaritmInternal(self, conf)
14
15
  self.__reseted_yaw_val = 0.0
15
16
 
16
- signal.signal(signal.SIGTERM, self.handler)
17
- signal.signal(signal.SIGINT, self.handler)
17
+ if threading.current_thread() is threading.main_thread():
18
+ signal.signal(signal.SIGTERM, self.handler)
19
+ signal.signal(signal.SIGINT, self.handler)
18
20
 
19
21
  def stop(self):
20
22
  self.__algaritm_internal.stop()
File without changes
@@ -4,6 +4,7 @@ import numpy as np
4
4
  import signal
5
5
  import io
6
6
  import struct
7
+ import threading
7
8
  from threading import Thread
8
9
  import socket
9
10
  import time
@@ -25,8 +26,9 @@ class Shufflecad:
25
26
  self.joystick_values: dict = dict()
26
27
  self.print_array: List[str] = list()
27
28
 
28
- signal.signal(signal.SIGTERM, self.__handler)
29
- signal.signal(signal.SIGINT, self.__handler)
29
+ if threading.current_thread() is threading.main_thread():
30
+ signal.signal(signal.SIGTERM, self.__handler)
31
+ signal.signal(signal.SIGINT, self.__handler)
30
32
 
31
33
  self.__connection_helper = ConnectionHelper(self, self.__robot)
32
34
 
@@ -1,4 +1,5 @@
1
1
  import signal
2
+ import threading
2
3
 
3
4
  from .internal.common.robot import Robot
4
5
  from .internal.common.robot_configuration import DefaultStudicaConfiguration
@@ -12,8 +13,9 @@ class RobotVmxTitan(Robot):
12
13
  super().__init__(is_real_robot, conf)
13
14
  self.__studica_internal = StudicaInternal(self, conf)
14
15
 
15
- signal.signal(signal.SIGTERM, self.handler)
16
- signal.signal(signal.SIGINT, self.handler)
16
+ if threading.current_thread() is threading.main_thread():
17
+ signal.signal(signal.SIGTERM, self.handler)
18
+ signal.signal(signal.SIGINT, self.handler)
17
19
 
18
20
  def stop(self):
19
21
  self.__studica_internal.stop()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: robocad-py
3
- Version: 1.3.3.0
3
+ Version: 1.3.5.0
4
4
  Summary: python lib for real and virtual robots
5
5
  Home-page: https://github.com/Soft-V/robocad-py
6
6
  Author: Airat Abdrakov
@@ -10,6 +10,9 @@ Keywords: simulator,robotics,robot,3d,raspberry,control,robocad
10
10
  Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Intended Audience :: Education
12
12
  Classifier: Operating System :: Microsoft :: Windows :: Windows 10
13
+ Classifier: Operating System :: Android
14
+ Classifier: Operating System :: POSIX :: Linux
15
+ Classifier: Operating System :: iOS
13
16
  Classifier: License :: OSI Approved :: MIT License
14
17
  Classifier: Programming Language :: Python :: 3
15
18
  License-File: LICENSE
@@ -29,31 +32,3 @@ Dynamic: summary
29
32
 
30
33
  Python library for real and virtual robots
31
34
 
32
- # Change Log
33
-
34
- ## 0.0.0.1
35
- - First Release
36
-
37
- ## 0.0.0.2
38
- - Real camera exception checker added
39
-
40
- ## 0.0.0.5
41
- - Hope this works
42
-
43
- ## 0.0.0.6
44
- - Servo motors should work now
45
-
46
- ## 0.0.0.7
47
- - Thread joins added
48
-
49
- ## 0.0.0.8
50
- - Thread joins fixed :)
51
-
52
- ## 0.0.0.9
53
- - Thread joins fixed 2 :)
54
-
55
- ## 0.0.1.1
56
- - Library fully changed according to the new requirements
57
-
58
- ## 1.0.3.0
59
- - Fully rewritten
@@ -4,13 +4,16 @@ classifiers = [
4
4
  'Development Status :: 5 - Production/Stable',
5
5
  'Intended Audience :: Education',
6
6
  'Operating System :: Microsoft :: Windows :: Windows 10',
7
+ 'Operating System :: Android',
8
+ 'Operating System :: POSIX :: Linux',
9
+ 'Operating System :: iOS',
7
10
  'License :: OSI Approved :: MIT License',
8
11
  'Programming Language :: Python :: 3'
9
12
  ]
10
13
 
11
14
  setup(
12
15
  name='robocad-py',
13
- version='1.3.3.0',
16
+ version='1.3.5.0',
14
17
  description='python lib for real and virtual robots',
15
18
  long_description="Python library for real and virtual robots" + '\n\n' + open('CHANGELOG.md').read(),
16
19
  url='https://github.com/Soft-V/robocad-py',
@@ -1,28 +0,0 @@
1
- # Change Log
2
-
3
- ## 0.0.0.1
4
- - First Release
5
-
6
- ## 0.0.0.2
7
- - Real camera exception checker added
8
-
9
- ## 0.0.0.5
10
- - Hope this works
11
-
12
- ## 0.0.0.6
13
- - Servo motors should work now
14
-
15
- ## 0.0.0.7
16
- - Thread joins added
17
-
18
- ## 0.0.0.8
19
- - Thread joins fixed :)
20
-
21
- ## 0.0.0.9
22
- - Thread joins fixed 2 :)
23
-
24
- ## 0.0.1.1
25
- - Library fully changed according to the new requirements
26
-
27
- ## 1.0.3.0
28
- - Fully rewritten
File without changes
File without changes
File without changes