mdl_puma560
p = [0.8 0 0];
T = transl(p) * troty(pi/2);
qr(1) = -pi/2;
qqr = p560.ikine6s(T, 'ru');
qrt = jtraj(qr, qqr, 50); % path from qr' to T
ae = [138 8];
p(1) = 1;
clf
plot_sphere(p, 0.05, 'y');%position of the ball
p560.plot3d(qrt, 'view', ae, 'nowrist'); % animate moption to the ball
%% For pick and place
qr(1) = pi/2;
qrt = jtraj(qqr, qr, 50); % path from T to qr'
clf
for i=1:length(qrt)
T = p560.fkine(qrt(i,:)); % get EE pose
Tball = T * SE3(0,0,0.2); %tool transfrom
P = Tball.t;
clf
plot_sphere(P, 0.05, 'y');%plot moving sphere
p560.plot3d(qrt(i,:), 'view', ae, 'nowrist');
pause(0.1)
end
p560.plot3d(qrt(i,:), 'view', ae);
On 25 Nov 2022, at 11:31 pm, snow John <jianr...@gmail.com> wrote:
Hello,Prof. Peter Corke ,
I want to improve the manipulability when the robot doing the pick and place task,And i have find a nice way in the paper“ NEO :A Novel Expeditious Optimisation Algorithm for Reactive Motion Control of Manipulators ” to make the trajectory have hight manipulability .But the source code is in python to get the Manipulability jacobian use the rbt. jacobm() function, which are not good for my project in matlab environment. And the QPsolver toolbox maybe can be replacered with the quadprog function in matlab.
--
You received this message because you are subscribed to a topic in the Google Groups "Robotics & Machine Vision Toolboxes" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/robotics-tool-box/IBOxJ4insek/unsubscribe.
To unsubscribe from this group and all its topics, send an email to robotics-tool-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/robotics-tool-box/cd90315c-f3b4-45e0-b79e-9a50446a187en%40googlegroups.com.
<1669378203542.jpg>