Files
gac-s_changer 509cfd333d
2023-04-28 11:29:07 +02:00

19 lines
430 B
Python

def close_lid():
"""
"""
print "close_lid"
#Initial checks
robot.assert_no_task()
robot.reset_motion()
robot.wait_ready()
robot.assert_cleared()
#robot.assert_in_known_point()
hexiposi.assert_homed()
pos = hexiposi.position
if pos == hexiposi.UNKNOWN_POSITION:
raise Exception("Undefined hexiposi position")
#Enabling
enable_motion()
robot.close_lid(pos)