26 lines
543 B
Python
26 lines
543 B
Python
def move_cold(reset_timestamp=False):
|
|
"""
|
|
"""
|
|
if reset_timestamp:
|
|
print "move_cold and reset ry_timestamp"
|
|
set_setting("dry_timestamp", time.time())
|
|
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() |