This commit is contained in:
@@ -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()
|
||||
Reference in New Issue
Block a user