Escolar Documentos
Profissional Documentos
Cultura Documentos
%QUEST�O 2:
disp('RESPOSTA QUEST�O 2:')
PX = 1.21;
PY = 1.411;
PZ = 0;
Lx=1;
Ly=1;
L(1) = Link([0 0 Lx 0]); %Cria��o da primeira eq
L(2) = Link([0 0 Ly 0]); %cria��o da segunda eq
Robot = SerialLink(L);
Robot.name='planar 2 link';
T = [1 0 0 PX; 0 1 0 PY; 0 0 1 PZ;0 0 0 1]; %Matriz de transforma��o
q0 = [0 0]; %posicao inicial
M = [1 1 0 0 0 0];
J = Robot.ikine(T,q0,M)%formula cinematica inversa