Files
X06SA/script/motion/move_cold.py
EPanepucci (x06sa-cons-701) 7760a652a1 SOFT-227 implement cryostage motions, WIP
- ported modifications offline, still need to finish
  and test
2021-07-28 14:46:40 +02:00

27 lines
549 B
Python

def move_cold(reset_timestamp=False):
"""
"""
if reset_timestamp:
set_setting("dry_timestamp", time.time())
print "move_cold and resetting dry_timestamp"
else:
print "move cold"
if robot.simulated:
time.sleep(3.0)
return
#Initial checks
robot.assert_no_task()
robot.reset_motion()
robot.wait_ready()
robot.assert_cleared()
#robot.assert_in_known_point()
#Enabling
enable_motion()
if not robot.is_cold():
robot.move_cold()