Constants.hpp
Go to the documentation of this file.
00001 /*
00002  *      This file is part of qpOASES.
00003  *
00004  *      qpOASES -- An Implementation of the Online Active Set Strategy.
00005  *      Copyright (C) 2007-2008 by Hans Joachim Ferreau et al. All rights reserved.
00006  *
00007  *      qpOASES is free software; you can redistribute it and/or
00008  *      modify it under the terms of the GNU Lesser General Public
00009  *      License as published by the Free Software Foundation; either
00010  *      version 2.1 of the License, or (at your option) any later version.
00011  *
00012  *      qpOASES is distributed in the hope that it will be useful,
00013  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  *      Lesser General Public License for more details.
00016  *
00017  *      You should have received a copy of the GNU Lesser General Public
00018  *      License along with qpOASES; if not, write to the Free Software
00019  *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00020  *
00021  */
00022 
00023 
00034 #ifndef QPOASES_CONSTANTS_HPP
00035 #define QPOASES_CONSTANTS_HPP
00036 
00037 #ifndef QPOASES_CUSTOM_INTERFACE
00038 #include "acado_qpoases_interface.hpp"
00039 #else
00040 #include QPOASES_CUSTOM_INTERFACE
00041 #endif
00042 
00045 const int NVMAX = QPOASES_NVMAX;
00046 
00049 const int NCMAX = QPOASES_NCMAX;
00050 
00053 const int NCMAX_ALLOC = (NCMAX == 0) ? 1 : NCMAX;
00054 
00057 const int NWSRMAX = QPOASES_NWSRMAX;
00058 
00062 const real_t DESIREDACCURACY = (real_t) 1.0e-3;
00063 
00067 const real_t CRITICALACCURACY = (real_t) 1.0e-2;
00068 
00069 
00070 
00073 const real_t EPS = (real_t) QPOASES_EPS;
00074 
00078 const real_t ZERO = (real_t) 1.0e-50;
00079 
00082 const real_t INFTY = (real_t) 1.0e12;
00083 
00084 
00089 const real_t BOUNDTOL = (real_t) 1.0e-10;
00090 
00093 const real_t BOUNDRELAXATION = (real_t) 1.0e3;
00094 
00095 
00098 const int INDEXLISTFACTOR = 5;
00099 
00100 
00101 #endif  /* QPOASES_CONSTANTS_HPP */
00102 
00103 
00104 /*
00105  *      end of file
00106  */


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Thu Aug 27 2015 11:58:04