Files
tell/script/motion/put_gonio.py
gac-S_Changer bdf5049f96 Creation
2018-12-03 12:17:40 +01:00

24 lines
430 B
Python

def put_gonio(force=False):
"""
"""
print "put_gonio: ", force
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_gonio():
robot.move_gonio()
robot.put_gonio()