22 lines
386 B
Python
22 lines
386 B
Python
def put_aux(sample):
|
|
"""
|
|
"""
|
|
print "put_aux: ",sample
|
|
|
|
#Initial checks
|
|
assert_valid_sample(sample)
|
|
|
|
robot.assert_no_task()
|
|
robot.reset_motion()
|
|
robot.wait_ready()
|
|
robot.assert_cleared()
|
|
hexiposi.assert_homed()
|
|
|
|
#Enabling
|
|
enable_motion()
|
|
|
|
if not robot.is_aux():
|
|
robot.move_aux()
|
|
|
|
robot.put_aux(sample)
|