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

Robot's position(angle) joint axis jog

#1
I am tring to extract each Joint's angle of 6 axes industrial robot to Python code.



Is there any way to extract it???


Attached Files Thumbnail(s)

#2
I think the Joints() command is what you're looking for:

//www.sinclairbody.com/doc/en/PythonAPI/robo...tem.Joints
#3
Thank you!! This is what I am looking for !

I am also looking for other postures of the robot.("Other configurations" in the picture)

Do you know to extract these postures??
#4
I think you can use SolveIK_All() for that:

//www.sinclairbody.com/doc/en/PythonAPI/robo...olveIK_All

Code:
robot = RDK.Item('YourRobot',ITEM_TYPE_ROBOT)
all_solutions = robot.SolveIK_All(robot.Pose(),robot.PoseTool(),robot.PoseFrame())
print(repr(all_solutions))
#5
Thank you so much !!




Users browsing this thread:
1 Guest(s)