from Kinematics of a two-link robot arm by Usman
this file describes the kinematics of two-link robot arm

twolink_kinematics.m
clear all
clc
twolink                     % defines robot(tl) from twolink.m file
qz=[45, 30]                 % joint angles
fwd_kine=fkine(tl, qz)      % pass robot name(tl) and joint parameters(qz)
inv_kine=ikine(tl, fwd_kine) % pass robot name and its fwd kinematics
plot(tl, qz)

Contact us