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

Control robot and turn table through python api

#8
You can simply retrieve the current robot joints and modify the external axes.

Example:
Code:
joints = robot.Joints() # retrieve the current position
joints[6] = 0 # Set the 7th axis to 0 (E1)
joints[7] = 0 # Set the 8th axis to 0 (E2)
robot.MoveJ(joints) # Move the robot


Messages In This Thread
RE: Control robot and turn table through python api - byAlbert- 04-06-2022, 08:47 AM



Users browsing this thread:
1 Guest(s)