This commit is contained in:
gac-S_Changer
2018-05-30 09:55:42 +02:00
parent fb1e1221f1
commit 606050ae80
7 changed files with 87 additions and 49 deletions

View File

@@ -26,7 +26,7 @@ def mount(segment, puck, sample, force=False):
location = get_current_point()
print "Location: " + location
robot.move_dewar()
robot.move_dewar_wait()
try:
robot.get_dewar(segment, puck, sample)
except:

View File

@@ -32,13 +32,13 @@ def unmount(segment, puck, sample, force=False):
raise
try:
robot.move_dewar()
robot.move_dewar_wait()
except:
#TODO: recover
raise
try:
robot.pet_dewar(segment, puck, sample)
robot.put_dewar(segment, puck, sample)
except:
#robot.move_dewar()
raise