Home > arte3.2.0 > robots > equipment > cylinders > cylinder_big > parameters.m

parameters

PURPOSE ^

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

SYNOPSIS ^

function robot = parameters()

DESCRIPTION ^

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   PARAMETERS Returns a data structure containing the parameters of the
   bumper cutting machine. The machine is intended to be used as a working
   environment for robots. Please load it as:

   robot.environment = load_robot('environment','bumper_cutting')

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

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