qi = TQma2000.ikine(T);
Warning: ikine: iteration limit 1000 exceeded (row 1), final err 0.308739
> In SerialLink.ikine at 148
In rtikdemo at 44
% and in fact it does not converge
qi
qi =
NaN NaN NaN NaN NaN NaN
pause % any key to continue
% We can help the solution along by using the 'pinv' option
qi = TQma2000.ikine(T, 'pinv');
% and the result
qi
qi =
-0.0000 -0.7854 -0.7854 -6.2832 0.3927 6.2832
%
% is the same as the original set of joint angles.
q
q =
0 -0.7854 -0.7854 0 0.3927 0
% However in general this will not be the case, there are multiple
% solutions, and the solution that is found depends on the initial
% choice of angles.
pause % any key to continue
% A more efficient approach is to use an analytic solution and the toolbox
% supports the common case of a 6-axis robot arm with a spherical wrist
qi = TQma2000.ikine6s(T)
??? Error using ==> SerialLink.ikine6s at 61
wrist is not spherical
Error in ==> rtikdemo at 62
qi = TQma2000.ikine6s(T)
Our error is like that.We look ikine6s file and as far as i see the problem is originated from spherical wrist. Our robot hasnt sprherical wrist.Can you give any advice please'?