33 #include <acado/code_generation/templates/templates.hpp> 43 const std::string& _wrapperHeaderFileName,
44 const std::string& _wrapperSourceFileName,
45 const std::string& _moduleName,
46 const std::string& _modulePrefix,
47 const std::string& _commonHeaderName,
48 const std::string& _realString,
49 const std::string& _intString,
51 const std::string& _commentString
53 : makefile(MAKEFILE_SFUN_QPOASES, _makefileName,
"", _realString, _intString, _precision,
"%"),
54 wrapperSource(SOLVER_SFUN_SOURCE, _wrapperSourceFileName, _commonHeaderName, _realString, _intString, _precision, _commentString),
55 wrapperHeader(SOLVER_SFUN_HEADER, _wrapperHeaderFileName, _commonHeaderName, _realString, _intString, _precision, _commentString),
56 moduleName( _moduleName ),
57 modulePrefix( _modulePrefix )
69 bool _initialStateFixed,
70 unsigned _wMatrixType,
71 bool _hardcodedConstraints,
116 makefile.
dictionary[
"@HARCODED_CONSTRAINTS@" ] = _hardcodedConstraints ==
true ?
"1" :
"0";
ExportTemplatedFile wrapperHeader
std::map< std::string, std::string > dictionary
returnValue configure(unsigned N, unsigned NX, unsigned NDX, unsigned NXA, unsigned NU, unsigned NP, unsigned NY, unsigned NYN, bool _initialStateFixed, unsigned _wMatrixType, bool _hardcodedConstraints, bool _useArrivalCost, bool _compCovMatrix, std::string _qpSolver)
Allows to pass back messages to the calling function.
string toString(T const &value)
#define CLOSE_NAMESPACE_ACADO
ExportTemplatedFile makefile
ExportSimulinkInterface(const std::string &_makefileName, const std::string &_wrapperHeaderFileName, const std::string &_wrapperSourceFileName, const std::string &_moduleName="acado", const std::string &_modulePrefix="ACADO", const std::string &_commonHeaderName="", const std::string &_realString="double", const std::string &_intString="int", int _precision=16, const std::string &_commentString=std::string())
ExportTemplatedFile wrapperSource
#define BEGIN_NAMESPACE_ACADO
virtual returnValue exportCode() const
returnValue fillTemplate()