Home > arte3.2.0 > tools > adjust_view.m

adjust_view

PURPOSE ^

ADJUST_VIEW(ROBOT)

SYNOPSIS ^

function adjust_view(robot)

DESCRIPTION ^

   ADJUST_VIEW(ROBOT) 
   Called to adjust the 3D view of the plotted robot.
   
   The variable ROBOT stores the current robot's parameters.

    See also DRAWROBOT3D.

   Author: Arturo Gil. Universidad Miguel Hernández de Elche.
   email: arturo.gil@umh.es date:   05/02/2012

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %   ADJUST_VIEW(ROBOT)
0002 %   Called to adjust the 3D view of the plotted robot.
0003 %
0004 %   The variable ROBOT stores the current robot's parameters.
0005 %
0006 %    See also DRAWROBOT3D.
0007 %
0008 %   Author: Arturo Gil. Universidad Miguel Hernández de Elche.
0009 %   email: arturo.gil@umh.es date:   05/02/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 adjust_view(robot)
0029 
0030 drawrobot3d(robot, robot.q);
0031 fprintf('\n\nADJUST YOUR VIEW AS DESIRED. \nPress any key to continue...\n');
0032 pause
0033 %get adjusted view
0034 [az, el] = view;

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