dora-reachy2 0.0.0__py3-none-any.whl → 0.3.10__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.
- dora_reachy2/camera.py +1 -1
- dora_reachy2/left_arm.py +14 -4
- dora_reachy2/right_arm.py +14 -4
- {dora_reachy2-0.0.0.dist-info → dora_reachy2-0.3.10.dist-info}/METADATA +2 -2
- dora_reachy2-0.3.10.dist-info/RECORD +11 -0
- {dora_reachy2-0.0.0.dist-info → dora_reachy2-0.3.10.dist-info}/WHEEL +1 -1
- dora_reachy2-0.0.0.dist-info/RECORD +0 -11
- {dora_reachy2-0.0.0.dist-info → dora_reachy2-0.3.10.dist-info}/entry_points.txt +0 -0
- {dora_reachy2-0.0.0.dist-info → dora_reachy2-0.3.10.dist-info}/top_level.txt +0 -0
dora_reachy2/camera.py
CHANGED
dora_reachy2/left_arm.py
CHANGED
@@ -78,14 +78,14 @@ def manage_gripper(reachy, gripper, grasp):
|
|
78
78
|
return True
|
79
79
|
if gripper == 0.0:
|
80
80
|
reachy.l_arm.gripper.close()
|
81
|
-
time.sleep(0.
|
81
|
+
time.sleep(0.3)
|
82
82
|
if grasp:
|
83
83
|
half_open = reachy.l_arm.gripper.get_current_opening() > 2
|
84
84
|
if not half_open:
|
85
85
|
return False
|
86
86
|
elif gripper == 100.0:
|
87
87
|
reachy.l_arm.gripper.open()
|
88
|
-
time.sleep(0.
|
88
|
+
time.sleep(0.3)
|
89
89
|
return True
|
90
90
|
|
91
91
|
|
@@ -133,7 +133,12 @@ def main():
|
|
133
133
|
)
|
134
134
|
else:
|
135
135
|
for joint, gripper in joint_values:
|
136
|
-
reachy.l_arm.goto(
|
136
|
+
reachy.l_arm.goto(
|
137
|
+
joint,
|
138
|
+
duration=duration,
|
139
|
+
wait=wait,
|
140
|
+
interpolation_mode="linear",
|
141
|
+
)
|
137
142
|
response_gripper = manage_gripper(reachy, gripper, grasp)
|
138
143
|
if not response_gripper:
|
139
144
|
node.send_output(
|
@@ -151,7 +156,12 @@ def main():
|
|
151
156
|
joints = value[:7].tolist()
|
152
157
|
gripper = value[7]
|
153
158
|
|
154
|
-
reachy.l_arm.goto(
|
159
|
+
reachy.l_arm.goto(
|
160
|
+
joints,
|
161
|
+
duration=duration,
|
162
|
+
wait=wait,
|
163
|
+
interpolation_mode="linear",
|
164
|
+
)
|
155
165
|
manage_gripper(reachy, gripper, grasp)
|
156
166
|
node.send_output("response_l_arm", pa.array([True]))
|
157
167
|
|
dora_reachy2/right_arm.py
CHANGED
@@ -77,14 +77,14 @@ def manage_gripper(reachy, gripper, grasp):
|
|
77
77
|
return True
|
78
78
|
if gripper == 0.0:
|
79
79
|
reachy.r_arm.gripper.close()
|
80
|
-
time.sleep(0.
|
80
|
+
time.sleep(0.3)
|
81
81
|
if grasp:
|
82
82
|
half_open = reachy.r_arm.gripper.get_current_opening() > 2
|
83
83
|
if not half_open:
|
84
84
|
return False
|
85
85
|
elif gripper == 100.0:
|
86
86
|
reachy.r_arm.gripper.open()
|
87
|
-
time.sleep(0.
|
87
|
+
time.sleep(0.3)
|
88
88
|
return True
|
89
89
|
|
90
90
|
|
@@ -132,7 +132,12 @@ def main():
|
|
132
132
|
)
|
133
133
|
else:
|
134
134
|
for joint, gripper in joint_values:
|
135
|
-
reachy.r_arm.goto(
|
135
|
+
reachy.r_arm.goto(
|
136
|
+
joint,
|
137
|
+
duration=duration,
|
138
|
+
wait=wait,
|
139
|
+
interpolation_mode="linear",
|
140
|
+
)
|
136
141
|
response_gripper = manage_gripper(reachy, gripper, grasp)
|
137
142
|
if not response_gripper:
|
138
143
|
node.send_output(
|
@@ -150,7 +155,12 @@ def main():
|
|
150
155
|
joints = value[:7].tolist()
|
151
156
|
gripper = value[7]
|
152
157
|
|
153
|
-
reachy.r_arm.goto(
|
158
|
+
reachy.r_arm.goto(
|
159
|
+
joints,
|
160
|
+
duration=duration,
|
161
|
+
wait=wait,
|
162
|
+
interpolation_mode="linear",
|
163
|
+
)
|
154
164
|
manage_gripper(reachy, gripper, grasp)
|
155
165
|
node.send_output("response_r_arm", pa.array([True]))
|
156
166
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: dora-reachy2
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.3.10
|
4
4
|
Summary: dora-reachy2
|
5
5
|
Author-email: Your Name <email@email.com>
|
6
6
|
License: MIT
|
7
7
|
Requires-Python: >=3.10
|
8
8
|
Description-Content-Type: text/markdown
|
9
|
-
Requires-Dist: dora-rs>=0.3.
|
9
|
+
Requires-Dist: dora-rs>=0.3.9
|
10
10
|
Requires-Dist: reachy2-sdk==1.0.7
|
11
11
|
Requires-Dist: reachy2-sdk-api==1.0.15
|
12
12
|
Requires-Dist: scipy
|
@@ -0,0 +1,11 @@
|
|
1
|
+
dora_reachy2/__init__.py,sha256=HuSK3dnyI9Pb5QAuaKFwQQ3J5SIZnLcKHPJO0norGzc,353
|
2
|
+
dora_reachy2/camera.py,sha256=zMa2RPY35niCWepdi5aq9jsn1kwX6S7hlVrEj1Xa4iA,3065
|
3
|
+
dora_reachy2/head.py,sha256=P2PmtaHLX0dSNX2NNlmpMb2m1cCAvAFIygWFk2reSXQ,2042
|
4
|
+
dora_reachy2/left_arm.py,sha256=WIdbpT8nXBuELuHoNUD5Xq8k59Xk4a63OCtdgXANa2E,5511
|
5
|
+
dora_reachy2/mobile_base.py,sha256=a7Kj1Zsj-MIvOcDBXMj9gRqLq6NU4xkx5hU4bnWWdfo,860
|
6
|
+
dora_reachy2/right_arm.py,sha256=tGYd9pgl7GNVtEtsNnP2VHPSW65roBa-DJAPaUq87dk,5507
|
7
|
+
dora_reachy2-0.3.10.dist-info/METADATA,sha256=Kfq3reVW1xzYsY6hg98-HrFFMUZ7mn_AYblUnourpoo,758
|
8
|
+
dora_reachy2-0.3.10.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
|
9
|
+
dora_reachy2-0.3.10.dist-info/entry_points.txt,sha256=1wj96u7QDcTPy9VN2xxV0HD2Og8GRzyT7f8wmMWD9Jc,269
|
10
|
+
dora_reachy2-0.3.10.dist-info/top_level.txt,sha256=KytY6Rdfj03RnwbYoeaA4xV1QirpxuJD66BodLTs_pM,13
|
11
|
+
dora_reachy2-0.3.10.dist-info/RECORD,,
|
@@ -1,11 +0,0 @@
|
|
1
|
-
dora_reachy2/__init__.py,sha256=HuSK3dnyI9Pb5QAuaKFwQQ3J5SIZnLcKHPJO0norGzc,353
|
2
|
-
dora_reachy2/camera.py,sha256=qGQsmEVWbXNP_6mSiaIHqTlPOHOvHfkbE4CLfvubWdc,3064
|
3
|
-
dora_reachy2/head.py,sha256=P2PmtaHLX0dSNX2NNlmpMb2m1cCAvAFIygWFk2reSXQ,2042
|
4
|
-
dora_reachy2/left_arm.py,sha256=B7Yby0mBDGYl8V4dBYuhkv9W5VyjAMXwgz_RnjRIyi4,5155
|
5
|
-
dora_reachy2/mobile_base.py,sha256=a7Kj1Zsj-MIvOcDBXMj9gRqLq6NU4xkx5hU4bnWWdfo,860
|
6
|
-
dora_reachy2/right_arm.py,sha256=KZz8MMK-zkPkdBURC9v903-iaddcRENm-ITsJQBSiG4,5151
|
7
|
-
dora_reachy2-0.0.0.dist-info/METADATA,sha256=98z3gsfUBpLQjlfvAY8rqumzj2Ph7PNMngOFm6qGOx8,757
|
8
|
-
dora_reachy2-0.0.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
9
|
-
dora_reachy2-0.0.0.dist-info/entry_points.txt,sha256=1wj96u7QDcTPy9VN2xxV0HD2Og8GRzyT7f8wmMWD9Jc,269
|
10
|
-
dora_reachy2-0.0.0.dist-info/top_level.txt,sha256=KytY6Rdfj03RnwbYoeaA4xV1QirpxuJD66BodLTs_pM,13
|
11
|
-
dora_reachy2-0.0.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|