37 lines
588 B
Python
37 lines
588 B
Python
def tweak_x(offset):
|
|
"""
|
|
"""
|
|
print "tweak_x", offset
|
|
|
|
#Initial checks
|
|
robot.assert_no_task()
|
|
robot.reset_motion()
|
|
robot.wait_ready()
|
|
#robot.assert_cleared()
|
|
#robot.assert_in_known_point()
|
|
|
|
#Enabling
|
|
enable_motion()
|
|
|
|
robot.tweak_x(offset)
|
|
|
|
|
|
|
|
def tweak_y(offset):
|
|
"""
|
|
"""
|
|
print "tweak_y", offset
|
|
|
|
#Initial checks
|
|
robot.assert_no_task()
|
|
robot.reset_motion()
|
|
robot.wait_ready()
|
|
#robot.assert_cleared()
|
|
#robot.assert_in_known_point()
|
|
|
|
#Enabling
|
|
enable_motion()
|
|
|
|
|
|
robot.tweak_y(offset)
|