用力推ead Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

绕z轴旋转,末端执行器的旋转

#3
(10-13-2020, 01:56 PM)Jeremy Wrote:Hi Micheal,

In your Point Follow Project, there's a "Program events" option.
On the right column, you have the "on action" check-box and the text box related to it.
This will add an action to each point of the point follow project.

You can then use a subroutine to simply rotate Joint 6 +-10 degrees.

Jeremy

Thanks for your fast reply! So I think that works basically, but then the rotation would just happen after every single movement and not like a combined movement. Even though I don't want to enter the values manually. So I was playing around a bit and adapted the 'Csv File To Program' Python script trying to do the same thing but here I got the issue that its not doing the roation even though Python doesn't give any error. Maybe you could also have a look into that and tell me what I'm doing wrong. I suspect these lines to not work as I want:

robotJoints[5][0] = rotationTool# manipulate the joint angle 6 to the desired rotation
robot.setJoints(robotJoints)# set the robot joint angle 6 to the rotation value


Or could it be a solution to add the rotation of the joint angle 6 to the general movement in this line:

program.MoveL(pi)

How would I do that though? Your help is greatly appreciated!


Attached Files
.rdk 20201014simulationKuka.rdk(Size: 339.33 KB / Downloads: 279)
.py pointfollow.py(Size: 3.57 KB / Downloads: 369)
.txt walking.txt(Size: 4.31 KB / Downloads: 325)


Messages In This Thread
RE: Rotation around z-axis - end-effector rotation - bymichael.lang- 10-14-2020, 12:02 PM



Users browsing this thread:
1 Guest(s)