Skip to content

Commit

Permalink
update mercury ros
Browse files Browse the repository at this point in the history
  • Loading branch information
wangWking committed Dec 13, 2023
1 parent 9f87b2c commit 57b32ed
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Mercury/mercury_b1/scripts/slider_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,13 @@ def callback(data):

print('left_angles: {}'.format(left_arm))
print('right_angles: {}'.format(right_arm))
print('middle_arm: {}'.format(middle_arm))
print('middle_angles: {}'.format(middle_arm))

l.send_angles(left_arm, 25)
time.sleep(0.02)
r.send_angles(right_arm, 25)
time.sleep(0.02)
r.send_angle(11, middle_arm[0], 25)
time.sleep(0.02)
r.send_angle(12, middle_arm[1], 25)
time.sleep(0.02)
r.send_angle(13, middle_arm[2], 25)
time.sleep(0.02)


def listener():
Expand Down

0 comments on commit 57b32ed

Please sign in to comment.