06-05-2019, 03:07 PM
Perhaps unrelated, but RoboDK seems to need some time to update positions. We have a linear rail (1 axis), and updating the rail's pose takes some time, so I added a delay:
Code:
pose = robodk.UR_2_Pose([x, 0, 0, 0, 0, 0])
self.rail.setPose(pose)
# HACK: If we don't do this, RoboDK says that we are out of reach.
time.sleep(0.25)
# Insert your robot moves here