So, I’ve created an HMI application for an IRB120 so that the user can input a target in the shape:
X,Y,Z
Ez,Ey,EX
arm (left/right)
elbow (up/down)
wrist (flip/no flip)
Given this information I can create a robtarget, except for the configuration. I can calculate “cfx” and leave cf1,cf4 and cf6 with “0” and CalcJoinT will work sometimes, but others it will not calculate the rest of the parameters.
I’ve tried the brute force method of, given a pose, calculating all possible cf1,cf4 and cf6 combinations, create a jointtarget with them (calcjointt), and then, using calcrobt to see what configuration the robot is really in, but it will not calculate cfx.
My questions are:
Is there a way of selecting a configuration given a pose (position+orientation)?
Isn’t cfx redundant to CF1,CF4,CF6?
Is there a way of calculating CFX ?
Shouldn’t “CalcRobT” calculate cfx as well as cf1,cf4 and cf6?
Best regards
Is it important to you the exact way in which the robot goes to the position or just that it gets there? If it is the latter, turning Conl\Off and ConfJ\Off will get you there.
Hi, I need the robot to get there in the cfx I specify. Will I get anywhere with Conl and confJ both to off without specifying cf1 cf4 and cf6 ( or set to zero)?
Finally I had to resort to creating a function that calculates the inverse kinematics of the IRB120 from an initial Pose (Position and orientation) and a given Cx. It seems the way that CalcJointT does not work as I was expecting or I do not understand how the logic has been implemented.