Hello
I've a problem with the function ikine on the new version of the
toolbox (9.2), in the old one (8) it works ok.
The problem i got is with a three-link Planar Robot (like this:
https://upload.wikimedia.org/wikipedia/commons/thumb/c/c5/Planar-three-link-manipulator.svg/210px-Planar-three-link-manipulator.svg.png).
When i whant to know the inverse manipulator kinematics for a forward
kinematics of q=[10º 20 º30º] the function ikine does not converge in
the new toolbox but in the old one it converges for the correct
angles.
The matlab script that i use is:
% DH parameters (4,3 and 2 are the links lengths)
PJ_DH=[0 0 0 4;0 0 0 3;0 0 0 2]
link1=Link([ PJ_DH(1,1) PJ_DH(1,2) PJ_DH(1,4) PJ_DH(1,3) 0 0]);
link2=Link([ PJ_DH(2,1) PJ_DH(2,2) PJ_DH(2,4) PJ_DH(2,3) 0 0]);
link3=Link([ PJ_DH(3,1) PJ_DH(3,2) PJ_DH(3,4) PJ_DH(3,3) 0 0]);
R1=SerialLink([link1 link2 link3],'name','Robot1 3DOF');
t1=0.1745;
t2=0.3491;
t3=0.5236;
FK=R1.fkine([t1 t2 t3])
IK=R1.ikine(FK,[0 0 0],[1 1 0 0 0 1])
and the result is:
i=1, nm=2.673688
Warning: Solution wouldn't converge, final error 2.674
> In SerialLink.ikine at 145
In Untitled at 20
IK =
889.6727 354.6802 342.8974
Am i doing something wrong?? Or there is a problem with the function??