% Intuitive approach example
clear all;%clear import (does not work in script mode) - use to switch from 2d to 3d
import ETS2.*
a1=1;a2=1;a3=1;%link lengths
E=Rz('q1')*Tx(a1)*Rz('q2')*Tx(a2)*Rz('q3')*Tx(a3);
q=[20,30,40];
E.fkine(q,'deg')
E.plot(q,'deg')

%E.teach

