%MDL_MotomanHP6  Create kinematic data of a Motoman HP6 manipulator
%
% MDL_MotomanHP6 is a script that creates the workspace variable hp6 which
% describes the kinematic characteristics of a Motoman HP6 manipulator
% using standard DH conventions.
%
% Also defines the workspace vector:
%   q0    mastering position.
%
% Author::
%  Wynand Swart,
%  Mega Robots CC, P/O Box 8412, Pretoria, 0001, South Africa,
%  wynand.swart@gmail.com
%
% Notes::
% - SI units of metres are used.
%
% See also mdl_irb140, mdl_m16, mdl_fanuc10l, mdl_S4ABB2p8, mdl_puma560, SerialLink.

% MODEL: Motoman, HP6, 6DOF, standard_DH

% Copyright (C) 1993-2015, by Peter I. Corke
%
% This file is part of The Robotics Toolbox for MATLAB (RTB).
% 
% RTB is free software: you can redistribute it and/or modify
% it under the terms of the GNU Lesser General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
% 
% RTB is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
% GNU Lesser General Public License for more details.
% 
% You should have received a copy of the GNU Leser General Public License
% along with RTB.  If not, see <http://www.gnu.org/licenses/>.
%
% http://www.petercorke.com

%Cell: 073-1555-430
%30 Sep 2007
%Motoman HP robot

clear L
%##########################################################
%            theta    d      a      alpha
L(1) = Link([ 0       0      0.15   -pi/2   0]);
L(2) = Link([ 0       0      0.57   -pi     0]);
L(3) = Link([ 0       0      0.155  -pi/2   0]);
L(4) = Link([ 0      -0.635  0       pi/2   0]);
L(5) = Link([ 0       0      0      -pi/2   0]);
L(6) = Link([ 0      -0.095  0       pi     0]);
%##########################################################
%Pose 0; At ZERO position
%##########################################################
q0 =[0   -pi/2   0   0   -pi/2   0];
hp6 = SerialLink(L, 'name', 'Motoman HP6');
%##########################################################
