Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Python API - External Axis

#2
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


Messages In This Thread
Python API - External Axis - byNox- 06-05-2019, 12:01 PM
RE: Python API - External Axis - bydavidmurray- 06-05-2019, 03:07 PM
RE: Python API - External Axis - byAlbert- 06-12-2019, 11:15 AM



Users browsing this thread:
1 Guest(s)