Home > arte3.2.0 > robots > equipment > end_tools > vacuum_1 > parameters.m

parameters

PURPOSE ^

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

SYNOPSIS ^

function robot = parameters()

DESCRIPTION ^

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   PARAMETERS Returns a data structure containing the parameters of the
   vacuum tool.
   PERS tooldata gripper:=[TRUE,[[0,0,425],[1,0,0,0]],[2.5,[0,0,200],[1,0,0,0],0.5,0.5,0.5]];
   gripper=[TRUE,[[0,0,0.425],[1,0,0,0]],[2.5,[0,0,0.200],[1,0,0,0],0.5,0.5,0.5]];
   Author: Arturo Gil. Universidad Miguel Hernández de Elche. 
   email: arturo.gil@umh.es date:   09/01/2012
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0002 %   PARAMETERS Returns a data structure containing the parameters of the
0003 %   vacuum tool.
0004 %   PERS tooldata gripper:=[TRUE,[[0,0,425],[1,0,0,0]],[2.5,[0,0,200],[1,0,0,0],0.5,0.5,0.5]];
0005 %   gripper=[TRUE,[[0,0,0.425],[1,0,0,0]],[2.5,[0,0,0.200],[1,0,0,0],0.5,0.5,0.5]];
0006 %   Author: Arturo Gil. Universidad Miguel Hernández de Elche.
0007 %   email: arturo.gil@umh.es date:   09/01/2012
0008 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0009 
0010 % Copyright (C) 2012, by Arturo Gil Aparicio
0011 %
0012 % This file is part of ARTE (A Robotics Toolbox for Education).
0013 %
0014 % ARTE is free software: you can redistribute it and/or modify
0015 % it under the terms of the GNU Lesser General Public License as published by
0016 % the Free Software Foundation, either version 3 of the License, or
0017 % (at your option) any later version.
0018 %
0019 % ARTE is distributed in the hope that it will be useful,
0020 % but WITHOUT ANY WARRANTY; without even the implied warranty of
0021 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0022 % GNU Lesser General Public License for more details.
0023 %
0024 % You should have received a copy of the GNU Leser General Public License
0025 % along with ARTE.  If not, see <http://www.gnu.org/licenses/>.
0026 function robot = parameters()
0027 
0028 robot.name= 'VACUUM END TOOL';
0029 
0030 %Path where everything is stored for this robot
0031 %robot.path = 'robots/end_tools/vacuum_1';
0032 
0033 robot.DH.theta= '[]';
0034 robot.DH.d='[]';
0035 robot.DH.a='[]';
0036 robot.DH.alpha= '[]';
0037 robot.J=[];
0038 
0039 
0040 robot.inversekinematic_fn = '';
0041 
0042 %number of degrees of freedom
0043 robot.DOF = 0;
0044 
0045 %rotational: 0, translational: 1
0046 robot.kind=[];
0047 
0048 %minimum and maximum rotation angle in rad
0049 robot.maxangle =[]; %Axis 6: Unlimited (800º default)
0050 
0051 %maximum absolute speed of each joint rad/s or m/s
0052 robot.velmax = [];%Axis 6, rad/s
0053 % end effectors maximum velocity
0054 robot.linear_velmax = 0; %m/s
0055 
0056 %base reference system
0057 robot.T0 = eye(4);
0058 
0059 %definition of the tool center point with respect to the last reference
0060 %system.
0061 %for tools, this TCP usually means the transformation from system
0062 %(X_tool0,Y_tool0,Z_tool0) to (X_tool1,Y_tool1,Z_tool1)
0063 robot.TCP = [1 0 0 0;
0064              0 1 0 0;
0065              0 0 1 0.425;
0066              0 0 0 1]; 
0067 
0068 %INITIALIZATION OF VARIABLES REQUIRED FOR THE SIMULATION
0069 %position, velocity and acceleration
0070 robot=init_sim_variables(robot);
0071 robot.path = pwd;
0072 %needed by the simulation. Consider that the piece is not yet gripped (gripped = 0)
0073 robot.piece_gripped=0;
0074 %consider that the tool is closed (open=0)
0075 robot.tool_open=0;
0076 
0077 
0078 % GRAPHICS
0079 robot.graphical.has_graphics=1;
0080 robot.graphical.color = [100 102 100]./255;
0081 %for transparency
0082 robot.graphical.draw_transparent=0;
0083 %draw DH systems
0084 robot.graphical.draw_axes=1;
0085 %DH system length and Font size, standard is 1/10. Select 2/20, 3/30 for
0086 %bigger robots
0087 robot.graphical.axes_scale=1;
0088 %adjust for a default view of the robot
0089 robot.axis=[-0.75 0.75 -0.75 0.75 0 1.2];
0090 %read graphics files
0091 robot = read_graphics(robot);
0092 
0093 %DYNAMICS
0094 robot.has_dynamics=0;

Generated on Fri 03-Jan-2014 12:20:01 by m2html © 2005