This commit is contained in:
gac-S_Changer
2018-05-22 16:07:56 +02:00
parent 5114bfaf3d
commit 05f982c86b
26 changed files with 595 additions and 221 deletions

15
script/motion/unmount.py Normal file
View File

@@ -0,0 +1,15 @@
def unmount(segment, puck, sample):
"""
"""
assertValidAddress(segment, puck, sample)
hexiposi.move(segment)
img_segment = get_img_cover_pos()
if img_segment != segment:
raise Excepton ("Image detection of cover does not match hexiposi: " + str(img_segment))
if type(segment) == str:
segment = ord(segment.upper()) - ord('A') +1
robot.unmount(segment, puck, sample)