This commit is contained in:
gac-S_Changer
2018-07-06 09:56:19 +02:00
parent 4371d9c6d8
commit 4c38bcba7c
34 changed files with 1820 additions and 968 deletions

View File

@@ -5,6 +5,8 @@ def get_dewar(segment, puck, sample, force=False):
#Initial checks
assertValidAddress(segment, puck, sample)
assert_puck_detected(segment, puck)
robot.assert_no_task()
robot.reset_motion()
robot.wait_ready()

View File

@@ -5,6 +5,8 @@ def mount(segment, puck, sample, force=False, read_dm=False):
start = time.time()
#Initial checks
assertValidAddress(segment, puck, sample)
assert_puck_detected(segment, puck)
robot.assert_no_task()
robot.reset_motion()
robot.wait_ready()

View File

@@ -5,6 +5,8 @@ def put_dewar(segment, puck, sample, force=False):
#Initial checks
assertValidAddress(segment, puck, sample)
assert_puck_detected(segment, puck)
robot.assert_no_task()
robot.reset_motion()
robot.wait_ready()

5
script/motion/recover.py Normal file
View File

@@ -0,0 +1,5 @@
def recover():
"""
"""
print "recover"

View File

@@ -11,6 +11,4 @@ def robot_recover():
#Enabling
enable_motion()
#barcode_reader.start_read(20.0)
robot.robot_recover()

View File

@@ -5,6 +5,8 @@ def unmount(segment, puck, sample, force=False):
#Initial checks
assertValidAddress(segment, puck, sample)
assert_puck_detected(segment, puck)
robot.assert_no_task()
robot.reset_motion()
robot.wait_ready()