urkit 0.3.9__tar.gz → 0.3.10__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.
- {urkit-0.3.9 → urkit-0.3.10}/PKG-INFO +5 -5
- {urkit-0.3.9 → urkit-0.3.10}/pyproject.toml +5 -5
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit/__init__.py +1 -1
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit/robot.py +21 -5
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit.egg-info/PKG-INFO +5 -5
- urkit-0.3.10/src/urkit.egg-info/requires.txt +4 -0
- urkit-0.3.9/src/urkit.egg-info/requires.txt +0 -4
- {urkit-0.3.9 → urkit-0.3.10}/README.md +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/setup.cfg +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit/__main__.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit/cli/__init__.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit/cli/colors.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit/cli/connection_monitor.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit/cli/points.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit/cli/teach.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit/config.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit/connection.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit/exceptions.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit/geometry.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit/gripper/__init__.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit/gripper/base.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit/gripper/digital.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit/gripper/presets.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit/gripper/robotiq.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit/gripper/robotiq_preamble.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit/io.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit/motion.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit/points.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit/telemetry.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit.egg-info/SOURCES.txt +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit.egg-info/dependency_links.txt +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit.egg-info/entry_points.txt +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/src/urkit.egg-info/top_level.txt +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/tests/test_exceptions.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/tests/test_geometry.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/tests/test_gripper.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/tests/test_gripper_factory.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/tests/test_gripper_presets.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/tests/test_points.py +0 -0
- {urkit-0.3.9 → urkit-0.3.10}/tests/test_robot_integration.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: urkit
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.10
|
|
4
4
|
Summary: Universal Robots e-Series control toolkit built on ur_rtde
|
|
5
5
|
Author: URKit Contributors
|
|
6
6
|
License: MIT
|
|
@@ -17,12 +17,12 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
18
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
19
19
|
Classifier: Topic :: Scientific/Engineering :: Human Machine Interfaces
|
|
20
|
-
Requires-Python: >=3.
|
|
20
|
+
Requires-Python: >=3.10
|
|
21
21
|
Description-Content-Type: text/markdown
|
|
22
|
-
Requires-Dist: ur_rtde>=1.
|
|
22
|
+
Requires-Dist: ur_rtde>=1.6
|
|
23
23
|
Requires-Dist: pyyaml>=6.0
|
|
24
|
-
Requires-Dist: colorama>=0.4
|
|
25
|
-
Requires-Dist: rich>=
|
|
24
|
+
Requires-Dist: colorama>=0.4
|
|
25
|
+
Requires-Dist: rich>=15
|
|
26
26
|
|
|
27
27
|
# URKit
|
|
28
28
|
|
|
@@ -4,11 +4,11 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "urkit"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.10"
|
|
8
8
|
description = "Universal Robots e-Series control toolkit built on ur_rtde"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = {text = "MIT"}
|
|
11
|
-
requires-python = ">=3.
|
|
11
|
+
requires-python = ">=3.10"
|
|
12
12
|
authors = [
|
|
13
13
|
{name = "URKit Contributors"},
|
|
14
14
|
]
|
|
@@ -44,10 +44,10 @@ classifiers = [
|
|
|
44
44
|
"Topic :: Scientific/Engineering :: Human Machine Interfaces",
|
|
45
45
|
]
|
|
46
46
|
dependencies = [
|
|
47
|
-
"ur_rtde>=1.
|
|
47
|
+
"ur_rtde>=1.6",
|
|
48
48
|
"pyyaml>=6.0",
|
|
49
|
-
"colorama>=0.4
|
|
50
|
-
"rich>=
|
|
49
|
+
"colorama>=0.4",
|
|
50
|
+
"rich>=15",
|
|
51
51
|
]
|
|
52
52
|
|
|
53
53
|
[project.urls]
|
|
@@ -188,11 +188,27 @@ class URRobot:
|
|
|
188
188
|
"Continuing — RTDE connection may fail if a program is running."
|
|
189
189
|
)
|
|
190
190
|
|
|
191
|
-
# Connect RTDE
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
191
|
+
# Connect RTDE — retry after boot, the Secondary Interface may need
|
|
192
|
+
# extra time to accept connections even after the robot is IDLE.
|
|
193
|
+
rtde_attempts = 2 if boot_needed else 1
|
|
194
|
+
for attempt in range(1, rtde_attempts + 1):
|
|
195
|
+
try:
|
|
196
|
+
self._rtde_c, self._rtde_r, self._rtde_io = _connect_rtde(
|
|
197
|
+
ip,
|
|
198
|
+
frequency=self._rtde_frequency,
|
|
199
|
+
)
|
|
200
|
+
break
|
|
201
|
+
except Exception as e:
|
|
202
|
+
if attempt < rtde_attempts:
|
|
203
|
+
logger.warning(
|
|
204
|
+
"[URRobot] RTDE connection attempt %d failed: %s. "
|
|
205
|
+
"Retrying in 5s...",
|
|
206
|
+
attempt,
|
|
207
|
+
e,
|
|
208
|
+
)
|
|
209
|
+
time.sleep(5)
|
|
210
|
+
else:
|
|
211
|
+
raise
|
|
196
212
|
|
|
197
213
|
# Initialize subsystems
|
|
198
214
|
self._telemetry = Telemetry(self._rtde_r)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: urkit
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.10
|
|
4
4
|
Summary: Universal Robots e-Series control toolkit built on ur_rtde
|
|
5
5
|
Author: URKit Contributors
|
|
6
6
|
License: MIT
|
|
@@ -17,12 +17,12 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
18
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
19
19
|
Classifier: Topic :: Scientific/Engineering :: Human Machine Interfaces
|
|
20
|
-
Requires-Python: >=3.
|
|
20
|
+
Requires-Python: >=3.10
|
|
21
21
|
Description-Content-Type: text/markdown
|
|
22
|
-
Requires-Dist: ur_rtde>=1.
|
|
22
|
+
Requires-Dist: ur_rtde>=1.6
|
|
23
23
|
Requires-Dist: pyyaml>=6.0
|
|
24
|
-
Requires-Dist: colorama>=0.4
|
|
25
|
-
Requires-Dist: rich>=
|
|
24
|
+
Requires-Dist: colorama>=0.4
|
|
25
|
+
Requires-Dist: rich>=15
|
|
26
26
|
|
|
27
27
|
# URKit
|
|
28
28
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|