Files
x06da/script/motion/move_cold.py
2020-10-06 10:04:51 +02:00

26 lines
555 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()