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 ?

#1
Hello,

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.

我添加了一个screenshot and the python program in attachments.

感谢您的阅读

Professor Relmy


Attached Files Thumbnail(s)


.py python_rotation.py(Size: 2.16 KB / Downloads: 64)
#2
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:
Code:
joints = robot.Joints()
joints[5] = joints[5] + 180
robot.MoveJ(joints)




Users browsing this thread:
1 Guest(s)