33 #include <acado/code_generation/templates/templates.hpp> 40 const std::string& _commonHeaderName,
41 const std::string& _realString,
42 const std::string& _intString,
44 const std::string& _commentString
45 ) :
ExportTemplatedFile(QPDUNES_SPLIT_TEMPLATE, _fileName, _commonHeaderName, _realString, _intString, _precision, _commentString)
49 const unsigned _printLevel,
50 const std::string& _HH,
51 const std::string& _g,
52 const std::string& _gN,
53 const std::string& _CC,
54 const std::string& _c,
55 const std::string& _DD,
56 const std::string& _lb0,
57 const std::string& _ub0,
58 const std::string& _lb,
59 const std::string& _ub,
60 const std::string& _lbA,
61 const std::string& _ubA,
62 const std::string& _primal,
63 const std::string& _lambda,
64 const std::string& _mu,
65 const std::vector< unsigned >& conDim,
66 const std::string& _initialStateFixed,
67 const std::string& _diagH,
68 const std::string& _diagHN,
111 if (conDim.size() > 0)
118 ss <<
"unsigned int nD[";
121 for (
unsigned i = 0; i < conDim.size(); ++i)
124 if (i < conDim.size() - 1)
134 ss <<
"unsigned int nD[";
136 ss <<
" + 1]; for (kk = 0; kk < ";
138 ss <<
" + 1; nD[ kk++ ] = 0);";
146 dictionary[
"@INITIAL_STATE_FIXED@" ] = _initialStateFixed;
std::map< std::string, std::string > dictionary
ExportSplitQpDunesInterface(const std::string &_fileName, const std::string &_commonHeaderName="", const std::string &_realString="real_t", const std::string &_intString="int", int _precision=16, const std::string &_commentString=std::string())
Allows to pass back messages to the calling function.
#define CLOSE_NAMESPACE_ACADO
Allows export of template files.
static std::string fcnPrefix
#define BEGIN_NAMESPACE_ACADO
virtual returnValue configure()
returnValue fillTemplate()
static std::string varPrefix