This commit is contained in:
Max Hunt 2020-03-02 15:29:29 +00:00
parent cd85be428d
commit 3f231e1843

View File

@ -211,7 +211,7 @@ def V_Routine(): #Spawns brick (if sim), sends gripper to brick position, asks i
left_pnp.gripper_close()
gripper_state = left_pnp.gripperPosition()
if gripper_state < 10:
if gripper_state < 5:
command = raw_input('\n \nPROBLEM DETECTED!!!\n(C)ontinue, (A)bort, (O)pen gripper\n>_ ')
if command in {'C', 'c', 'continue'}:
pass
@ -245,7 +245,7 @@ def H_Routine():#Spawns brick (if sim), sends gripper to brick position, asks if
gripper_state = left_pnp.gripperPosition()
if gripper_state < 10:
if gripper_state < 5:
command = raw_input('\n \nPROBLEM DETECTED!!!\nGripper has nothing in it...\n(C)ontinue, (A)bort, (O)pen gripper\n>_ ')
if command == 'C':
pass