L(1) = Link([0, 0, 200, 0], 'R'); L(2) = Link([0, 0, 230, 0], 'R');
R = SerialLink(L, 'name', 'two link');
R.plot([0.5, 0.7])
R.teach();
T = transl(0.4, 0.5, 0.6); q = R.ikine(T, [rad1, rad2], [1, 1, 0, 0, 0, 0]);
_ Error using SerialLink/ikine (line 164) Number of robot DOF must be >= the same number of 1s in the mask matrix Error in neki (line 26) q = R.ikine(T, [rad1, rad2], M);
Best Answer