Code covered by the BSD License  

Highlights from
Task Space control of RPRP manipulator

image thumbnail
from Task Space control of RPRP manipulator by Sumit Tripathi
Forward and inverse kinematics of RPRP manipulator with task space control to trace trajectories.

plot_RPRP()
%Sumit Tripathi
% This file uses dimensions set by set_dimensions.m
function plot_RPRP()
global theta1_g d1_g theta2_g d2_g;
global x_ee_g y_ee_g phi_g;
global pF_jr2_g pF_pL1_prism_g pF_pL2_prism_g;
global jr2_g  pL1_prism_g  pL2_prism_g;
global x1_g y1_g r_g len_g;
global Link1_g Link2_g joint2_g;
global pF_EE_RPRP_g  pEE_RPRP_g EE_g;

set(pF_pL1_prism_g,'xdata',Link1_g(1,:),'ydata',Link1_g(2,:));
set(pF_pL2_prism_g,'xdata',Link2_g(1,:),'ydata',Link2_g(2,:));
set(pF_jr2_g,'xdata',joint2_g(1,:),'ydata',joint2_g(2,:));

set(pF_EE_RPRP_g,'xdata',EE_g(1,:),'ydata',EE_g(2,:));

Contact us at files@mathworks.com