Open gripper before picking up
This commit is contained in:
parent
aeeb4c232a
commit
32260595a1
@ -588,6 +588,8 @@ def tray_routine(robot, slot=0, pick_up=True):
|
|||||||
[first_slot+2*slot_distance, -0.3426, slot_height, 1.5899, 1.5526, -0.9411],
|
[first_slot+2*slot_distance, -0.3426, slot_height, 1.5899, 1.5526, -0.9411],
|
||||||
[first_slot+3*slot_distance, -0.3426, slot_height, 1.5899, 1.5526, -0.9411],
|
[first_slot+3*slot_distance, -0.3426, slot_height, 1.5899, 1.5526, -0.9411],
|
||||||
]
|
]
|
||||||
|
if pick_up:
|
||||||
|
open_gripper()
|
||||||
rob.movel(slot_position[slot],vel=0.2, acc=1)
|
rob.movel(slot_position[slot],vel=0.2, acc=1)
|
||||||
|
|
||||||
# Place/Grab the tube
|
# Place/Grab the tube
|
||||||
|
Loading…
x
Reference in New Issue
Block a user