dora-piper 0.3.8__py3-none-any.whl → 0.3.9__py3-none-any.whl
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.
Potentially problematic release.
This version of dora-piper might be problematic. Click here for more details.
- dora_piper/__init__.py +1 -1
- dora_piper/main.py +6 -7
- dora_piper-0.3.9.dist-info/METADATA +21 -0
- dora_piper-0.3.9.dist-info/RECORD +7 -0
- {dora_piper-0.3.8.dist-info → dora_piper-0.3.9.dist-info}/WHEEL +2 -1
- dora_piper-0.3.9.dist-info/entry_points.txt +2 -0
- dora_piper-0.3.9.dist-info/top_level.txt +1 -0
- dora_piper-0.3.8.dist-info/METADATA +0 -30
- dora_piper-0.3.8.dist-info/RECORD +0 -6
- dora_piper-0.3.8.dist-info/entry_points.txt +0 -3
dora_piper/__init__.py
CHANGED
|
@@ -5,7 +5,7 @@ readme_path = os.path.join(os.path.dirname(os.path.dirname(__file__)), "README.m
|
|
|
5
5
|
|
|
6
6
|
# Read the content of the README file
|
|
7
7
|
try:
|
|
8
|
-
with open(readme_path,
|
|
8
|
+
with open(readme_path, encoding="utf-8") as f:
|
|
9
9
|
__doc__ = f.read()
|
|
10
10
|
except FileNotFoundError:
|
|
11
11
|
__doc__ = "README file not found."
|
dora_piper/main.py
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
from piper_sdk import C_PiperInterface
|
|
2
|
-
from dora import Node
|
|
3
|
-
import pyarrow as pa
|
|
4
|
-
import numpy as np
|
|
5
1
|
import os
|
|
6
2
|
import time
|
|
7
3
|
|
|
4
|
+
import numpy as np
|
|
5
|
+
import pyarrow as pa
|
|
6
|
+
from dora import Node
|
|
7
|
+
from piper_sdk import C_PiperInterface
|
|
8
|
+
|
|
8
9
|
TEACH_MODE = os.getenv("TEACH_MODE", "False") in ["True", "true"]
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
def enable_fun(piper: C_PiperInterface):
|
|
12
|
-
"""
|
|
13
|
-
使能机械臂并检测使能状态,尝试5s,如果使能超时则退出程序
|
|
13
|
+
"""使能机械臂并检测使能状态,尝试5s,如果使能超时则退出程序
|
|
14
14
|
"""
|
|
15
15
|
enable_flag = False
|
|
16
16
|
# 设置超时时间(秒)
|
|
@@ -144,7 +144,6 @@ def main():
|
|
|
144
144
|
)
|
|
145
145
|
|
|
146
146
|
elif event["type"] == "STOP":
|
|
147
|
-
|
|
148
147
|
if not TEACH_MODE:
|
|
149
148
|
piper.MotionCtrl_2(0x01, 0x01, 50, 0x00)
|
|
150
149
|
piper.JointCtrl(0, 0, 0, 0, 0, 0)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: dora-piper
|
|
3
|
+
Version: 0.3.9
|
|
4
|
+
Summary: Dora Node for using Agilex piper
|
|
5
|
+
Author-email: Haixuan Xavier Tao <tao.xavier@outlook.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
Requires-Python: >=3.8
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
Requires-Dist: dora-rs>=0.3.6
|
|
10
|
+
Requires-Dist: piper_sdk>=0.0.8
|
|
11
|
+
Requires-Dist: numpy<2.0.0
|
|
12
|
+
|
|
13
|
+
# Dora Node (Experimental) to communicate with Agilex Piper SDK
|
|
14
|
+
|
|
15
|
+
This node is used to communicate with piper.
|
|
16
|
+
|
|
17
|
+
Make sure to follow both the setup script and installation script from https://github.com/agilexrobotics/piper_sdk
|
|
18
|
+
|
|
19
|
+
# To setup the arm
|
|
20
|
+
|
|
21
|
+
Make sure that the can bus is activated for both arm and leader arms are not connected.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
dora_piper/__init__.py,sha256=HuSK3dnyI9Pb5QAuaKFwQQ3J5SIZnLcKHPJO0norGzc,353
|
|
2
|
+
dora_piper/main.py,sha256=26Wb05kTDL2IIAdSZFDJH3xiQl47-nc2zPBWUIkP2ig,6289
|
|
3
|
+
dora_piper-0.3.9.dist-info/METADATA,sha256=m8CRrRZxLn5yOqC-X3LAaqEBLHSwopq_c59yW7Z5yu4,655
|
|
4
|
+
dora_piper-0.3.9.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
5
|
+
dora_piper-0.3.9.dist-info/entry_points.txt,sha256=DolLozhcewuwFZmPXY0cQwfjCdwbW3WYCDTwrka00gE,52
|
|
6
|
+
dora_piper-0.3.9.dist-info/top_level.txt,sha256=enxfssVrKOJI42xeBZxqJt44xdDocHbJiVZNXsIobNI,11
|
|
7
|
+
dora_piper-0.3.9.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
dora_piper
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: dora-piper
|
|
3
|
-
Version: 0.3.8
|
|
4
|
-
Summary: Dora Node for using Agilex piper
|
|
5
|
-
Author: Haixuan Xavier Tao
|
|
6
|
-
Author-email: tao.xavier@outlook.com
|
|
7
|
-
Requires-Python: >=3.7,<4.0
|
|
8
|
-
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
10
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
-
Requires-Dist: dora-rs (>=0.3.6,<0.4.0)
|
|
17
|
-
Requires-Dist: numpy (<2.0.0)
|
|
18
|
-
Requires-Dist: piper_sdk (>=0.0.8,<0.0.9)
|
|
19
|
-
Description-Content-Type: text/markdown
|
|
20
|
-
|
|
21
|
-
# Dora Node (Experimental) to communicate with Agilex Piper SDK
|
|
22
|
-
|
|
23
|
-
This node is used to communicate with piper.
|
|
24
|
-
|
|
25
|
-
Make sure to follow both the setup script and installation script from https://github.com/agilexrobotics/piper_sdk
|
|
26
|
-
|
|
27
|
-
# To setup the arm
|
|
28
|
-
|
|
29
|
-
Make sure that the can bus is activated for both arm and leader arms are not connected.
|
|
30
|
-
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
dora_piper/__init__.py,sha256=Gy4qL4vCeTyA5HR1Yp3ioL4-ClJyW8oi_38CzMuMsBM,358
|
|
2
|
-
dora_piper/main.py,sha256=K_wKIIgVEtPoef2FLiVz5HRCKMJK05F-Y0JdgMoY42M,6294
|
|
3
|
-
dora_piper-0.3.8.dist-info/METADATA,sha256=jgeo4eeMgOd7GqTOe_9gHOLVUSNjPzpoD_MGBBSyy_c,1079
|
|
4
|
-
dora_piper-0.3.8.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
5
|
-
dora_piper-0.3.8.dist-info/entry_points.txt,sha256=PuWCNzfJelov0oX-TmquNxlsUikVwvAE9hjlQKyC2T8,51
|
|
6
|
-
dora_piper-0.3.8.dist-info/RECORD,,
|