Browse Source

Fix reachy left arm (#907)

tags/v0.3.11-rc1
Haixuan Xavier Tao GitHub 10 months ago
parent
commit
e5e416b210
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      node-hub/dora-reachy2/dora_reachy2/left_arm.py

+ 3
- 3
node-hub/dora-reachy2/dora_reachy2/left_arm.py View File

@@ -71,11 +71,11 @@ def l_arm_go_to_mixed_angles(reachy, x, y, z):

def manage_gripper(reachy, gripper, grasp):
"""TODO: Add docstring."""
if (gripper == 100 and reachy.r_arm.gripper.get_current_opening() == 100) or (
if (gripper == 100 and reachy.l_arm.gripper.get_current_opening() == 100) or (
gripper == 0.0
and (
reachy.r_arm.gripper.get_current_opening() < 98
and reachy.r_arm.gripper.get_current_opening() > 2
reachy.l_arm.gripper.get_current_opening() < 98
and reachy.l_arm.gripper.get_current_opening() > 2
)
and grasp
):


Loading…
Cancel
Save