dora-piper 0.3.10rc0__py3-none-any.whl → 0.3.11rc1__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 CHANGED
@@ -1,3 +1,5 @@
1
+ """TODO: Add docstring."""
2
+
1
3
  import os
2
4
 
3
5
  # Define the path to the README file relative to the package directory
dora_piper/main.py CHANGED
@@ -1,3 +1,5 @@
1
+ """TODO: Add docstring."""
2
+
1
3
  import os
2
4
  import time
3
5
 
@@ -10,8 +12,7 @@ TEACH_MODE = os.getenv("TEACH_MODE", "False") in ["True", "true"]
10
12
 
11
13
 
12
14
  def enable_fun(piper: C_PiperInterface):
13
- """使能机械臂并检测使能状态,尝试5s,如果使能超时则退出程序
14
- """
15
+ """使能机械臂并检测使能状态,尝试5s,如果使能超时则退出程序."""
15
16
  enable_flag = False
16
17
  # 设置超时时间(秒)
17
18
  timeout = 5
@@ -44,9 +45,10 @@ def enable_fun(piper: C_PiperInterface):
44
45
 
45
46
 
46
47
  def main():
48
+ """TODO: Add docstring."""
47
49
  elapsed_time = time.time()
48
- CAN_BUS = os.getenv("CAN_BUS", "")
49
- piper = C_PiperInterface(CAN_BUS)
50
+ can_bus = os.getenv("CAN_BUS", "")
51
+ piper = C_PiperInterface(can_bus)
50
52
  piper.ConnectPort()
51
53
 
52
54
  if not TEACH_MODE:
@@ -1,12 +1,12 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: dora-piper
3
- Version: 0.3.10rc0
3
+ Version: 0.3.11rc1
4
4
  Summary: Dora Node for using Agilex piper
5
5
  Author-email: Haixuan Xavier Tao <tao.xavier@outlook.com>
6
6
  License: MIT
7
7
  Requires-Python: >=3.8
8
8
  Description-Content-Type: text/markdown
9
- Requires-Dist: dora-rs>=0.3.6
9
+ Requires-Dist: dora-rs>=0.3.9
10
10
  Requires-Dist: piper_sdk>=0.0.8
11
11
  Requires-Dist: numpy<2.0.0
12
12
 
@@ -0,0 +1,7 @@
1
+ dora_piper/__init__.py,sha256=tF7WHhHiDweUUzyHsbmFe_ktphE08aA5j33E4ja1udA,381
2
+ dora_piper/main.py,sha256=FGj7NyyzV6cXN0H8Z0vywJv9_hrUv--oGBtqNrU96IQ,6344
3
+ dora_piper-0.3.11rc1.dist-info/METADATA,sha256=6OUeFUml8JVY05GiECIDjuOFIagZJGBqNVfzEpREtiM,659
4
+ dora_piper-0.3.11rc1.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
5
+ dora_piper-0.3.11rc1.dist-info/entry_points.txt,sha256=DolLozhcewuwFZmPXY0cQwfjCdwbW3WYCDTwrka00gE,52
6
+ dora_piper-0.3.11rc1.dist-info/top_level.txt,sha256=enxfssVrKOJI42xeBZxqJt44xdDocHbJiVZNXsIobNI,11
7
+ dora_piper-0.3.11rc1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.0)
2
+ Generator: setuptools (78.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,7 +0,0 @@
1
- dora_piper/__init__.py,sha256=HuSK3dnyI9Pb5QAuaKFwQQ3J5SIZnLcKHPJO0norGzc,353
2
- dora_piper/main.py,sha256=26Wb05kTDL2IIAdSZFDJH3xiQl47-nc2zPBWUIkP2ig,6289
3
- dora_piper-0.3.10rc0.dist-info/METADATA,sha256=-rd2te1MBFnPd81xPY3dIV8cxDGg8Sg8ZtUSncK-Uoo,659
4
- dora_piper-0.3.10rc0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
5
- dora_piper-0.3.10rc0.dist-info/entry_points.txt,sha256=DolLozhcewuwFZmPXY0cQwfjCdwbW3WYCDTwrka00gE,52
6
- dora_piper-0.3.10rc0.dist-info/top_level.txt,sha256=enxfssVrKOJI42xeBZxqJt44xdDocHbJiVZNXsIobNI,11
7
- dora_piper-0.3.10rc0.dist-info/RECORD,,