mix control fix bug
Some checks failed
Secret Leaks / trufflehog (push) Has been cancelled

This commit is contained in:
2025-06-09 10:58:28 +08:00
parent cf8df17d3a
commit 55f284b306
5 changed files with 585 additions and 13 deletions

View File

@@ -12,10 +12,18 @@ print("Left: ", armleft.rm_get_arm_all_state())
# armleft.rm_movej([-90, 90, 90, -90, -90, 90], 50, 0, 0, 1)
# armleft.rm_movej_p([-0.185, 0.315, 0.080, -1.500, -0.800, -0.000], 50, 0, 0, 1)s
# armleft.rm_movel([-0.185, 0.315, 0.080, -1.500, -0.800, -0.000], 50, 0, 0, 1)
armleft.rm_set_gripper_position(1000, True, 2)
print(armleft.rm_get_gripper_state())
# armleft.rm_set_gripper_pick(100, 500, True, 2)
# armleft.rm_set_gripper_release(300, True, 2)
# armleft.rm_set_gripper_pick(100, 500, True, 2)
# armleft.rm_set_gripper_position(500, True, 20)
# armleft.rm_set_gripper_pick(100, 500, True, 2)
# armleft.rm_set_gripper_position(500, True, 20)
# armleft.rm_set_gripper_position(999, True, 2)
import time
time.sleep(3)
armleft.rm_set_gripper_position(1, True, 2)
# armleft.rm_set_gripper_position(1, True, 2)
# 断开所有连接,销毁线程
RoboticArm.rm_destory()