19 lines
327 B
Python
19 lines
327 B
Python
def move_scanner():
|
|
"""
|
|
"""
|
|
print "move_scanner"
|
|
|
|
#Initial checks
|
|
robot.assert_no_task()
|
|
robot.reset_motion()
|
|
robot.state.assertReady()
|
|
robot.assert_cleared()
|
|
#robot.assert_in_known_point()
|
|
|
|
#Enabling
|
|
enable_motion()
|
|
|
|
|
|
if not robot.is_scanner():
|
|
robot.move_scanner()
|