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

how to do a rotation with a single joint by a python program ?


I have a problem with a python program, when I want to do a rotation with a UR3e robot the coordinates in x,y,z work, the coordinates in rx,ry,rz work but I only want a rotation on a single joint.

I added a screenshot and the python program in attachments.

Thank you for reading

Professor Relmy

Attached Files Thumbnail(s)

.py (Size: 2.16 KB / Downloads: 144)
If you want to rotate a joint you can simply provide new joint values.

For example, if you want to move joint 6 by 180 deg:
joints = robot.Joints()
joints[5] = joints[5] + 180

Users browsing this thread:
1 Guest(s)