Files
x06da/script/motion/put_gonio.py
alexgobbo 7ab43e1840 08 2025
2025-08-07 10:04:13 +02:00

24 lines
445 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()
return True