35 #ifndef ACADO_TOOLKIT_SIM_EXPORT_HPP 36 #define ACADO_TOOLKIT_SIM_EXPORT_HPP 73 const double totalTime = 1.0 );
104 const std::string& _realString =
"real_t",
105 const std::string& _intString =
"int",
121 const std::string& _fileName,
122 const std::string& _realString =
"real_t",
123 const std::string& _intString =
"int",
142 const std::string& initStates,
144 const std::string& controls,
145 const std::string& results = std::string(
"results.txt" ),
146 const std::string& ref = std::string(
"ref.txt" )
158 virtual returnValue setReference(
const std::string& reference,
const std::vector<std::string>& outputReference = *(
new std::vector<std::string>())
266 const std::string& _fileName,
267 const std::string& _resultsFile,
269 const bool&
TIMING =
false,
270 const uint jumpReference = 1
282 const std::string& _fileName
296 const std::string& _fileName,
297 const std::string& _realString =
"real_t",
298 const std::string& _intString =
"int",
346 #endif // ACADO_TOOLKIT_SIM_EXPORT_HPP virtual returnValue setTimingCalls(uint _timingCalls)
returnValue executeTest(const std::string &_dirName)
returnValue collectDataDeclarations(ExportStatementBlock &declarations, ExportStruct dataStruct=ACADO_ANY) const
virtual returnValue printDetails(bool details)
Allows to pass back messages to the calling function.
virtual returnValue setReference(const std::string &reference, const std::vector< std::string > &outputReference=*(new std::vector< std::string >()))
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
virtual returnValue setTimingSteps(uint _timingSteps)
#define CLOSE_NAMESPACE_ACADO
returnValue collectFunctionDeclarations(ExportStatementBlock &declarations) const
returnValue exportMakefile(const std::string &_dirName, const std::string &_fileName, const std::string &_realString="real_t", const std::string &_intString="int", int _precision=16) const
User-interface to automatically generate simulation algorithms for fast optimal control.
User-interface to automatically generate algorithms for fast model predictive control.
returnValue exportEvaluation(const std::string &_dirName, const std::string &_fileName) const
Container class to store and pass data to the ModelData class.
IntegratorExport * integrator
virtual returnValue exportAndRun(const std::string &dirName, const std::string &initStates, const std::string &controls, const std::string &results=std::string("results.txt"), const std::string &ref=std::string("ref.txt"))
virtual returnValue exportCode(const std::string &dirName, const std::string &_realString="real_t", const std::string &_intString="int", int _precision=16)
std::vector< std::string > _outputFiles
Allows to export a tailored integrator for fast model predictive control.
returnValue checkConsistency() const
#define BEGIN_NAMESPACE_ACADO
returnValue exportTest(const std::string &_dirName, const std::string &_fileName, const std::string &_resultsFile, const std::vector< std::string > &_outputFiles, const bool &TIMING=false, const uint jumpReference=1) const
std::vector< std::string > _refOutputFiles
returnValue exportAcadoHeader(const std::string &_dirName, const std::string &_fileName, const std::string &_realString="real_t", const std::string &_intString="int", int _precision=16) const
Allows to export code for a block of statements.
SIMexport(const uint simIntervals=1, const double totalTime=1.0)
SIMexport & operator=(const SIMexport &arg)
returnValue copy(const SIMexport &arg)
static const uint factorRef