19 lines
349 B
Python
19 lines
349 B
Python
def calibrate_tool():
|
|
"""
|
|
"""
|
|
print "calibrate_tool"
|
|
|
|
#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_gonio():
|
|
robot.move_gonio()
|
|
robot.put_gonio()
|