This commit is contained in:
15
script/motion/unmount.py
Normal file
15
script/motion/unmount.py
Normal 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)
|
||||
Reference in New Issue
Block a user