dora-piper 0.3.8__tar.gz → 0.3.9rc2__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.

Potentially problematic release.


This version of dora-piper might be problematic. Click here for more details.

@@ -0,0 +1,21 @@
1
+ Metadata-Version: 2.2
2
+ Name: dora-piper
3
+ Version: 0.3.9rc2
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.
@@ -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, "r", encoding="utf-8") as f:
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."
@@ -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.9rc2
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,11 @@
1
+ README.md
2
+ pyproject.toml
3
+ dora_piper/__init__.py
4
+ dora_piper/main.py
5
+ dora_piper.egg-info/PKG-INFO
6
+ dora_piper.egg-info/SOURCES.txt
7
+ dora_piper.egg-info/dependency_links.txt
8
+ dora_piper.egg-info/entry_points.txt
9
+ dora_piper.egg-info/requires.txt
10
+ dora_piper.egg-info/top_level.txt
11
+ tests/test_piper.py
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ dora-piper = dora_piper.main:main
@@ -0,0 +1,3 @@
1
+ dora-rs>=0.3.6
2
+ piper_sdk>=0.0.8
3
+ numpy<2.0.0
@@ -0,0 +1 @@
1
+ dora_piper
@@ -0,0 +1,16 @@
1
+ [project]
2
+ name = "dora-piper"
3
+ version = "0.3.9-rc2"
4
+ authors = [{ name = "Haixuan Xavier Tao", email = "tao.xavier@outlook.com" }]
5
+ description = "Dora Node for using Agilex piper"
6
+ license = { text = "MIT" }
7
+ readme = "README.md"
8
+ requires-python = ">=3.8"
9
+
10
+ dependencies = ["dora-rs >= 0.3.6", "piper_sdk >= 0.0.8", "numpy < 2.0.0"]
11
+
12
+ [dependency-groups]
13
+ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
14
+
15
+ [project.scripts]
16
+ dora-piper = "dora_piper.main:main"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,5 @@
1
+ def test_import_main():
2
+ from piper_sdk import C_PiperInterface
3
+
4
+ ## Test piper installation
5
+ assert C_PiperInterface
dora_piper-0.3.8/PKG-INFO DELETED
@@ -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,24 +0,0 @@
1
- [tool.poetry]
2
- name = "dora-piper"
3
- version = "0.3.8"
4
- authors = ["Haixuan Xavier Tao <tao.xavier@outlook.com>"]
5
- description = "Dora Node for using Agilex piper"
6
- readme = "README.md"
7
-
8
- packages = [{ include = "dora_piper" }]
9
-
10
- [tool.poetry.dependencies]
11
- dora-rs = "^0.3.6"
12
- python = "^3.7"
13
- piper_sdk = "^0.0.8"
14
- numpy = "< 2.0.0"
15
-
16
- [tool.poetry.dev-dependencies]
17
- pytest = "^8.3.4"
18
-
19
- [tool.poetry.scripts]
20
- dora-piper = "dora_piper.main:main"
21
-
22
- [build-system]
23
- requires = ["poetry-core>=1.8.0"]
24
- build-backend = "poetry.core.masonry.api"
File without changes