Public Member Functions | Private Attributes

A class for generating the glue code and makefile for interfacing generated code and Simulink. More...

#include <export_simulink_interface.hpp>

List of all members.

Public Member Functions

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)
returnValue exportCode ()
 ExportSimulinkInterface (const std::string &_makefileName, const std::string &_wrapperHeaderFileName, const std::string &_wrapperSourceFileName, const std::string &_moduleName="acado", const std::string &_commonHeaderName="", const std::string &_realString="double", const std::string &_intString="int", int _precision=16, const std::string &_commentString=std::string())
virtual ~ExportSimulinkInterface ()

Private Attributes

ExportTemplatedFile makefile
std::string moduleName
ExportTemplatedFile wrapperHeader
ExportTemplatedFile wrapperSource

Detailed Description

A class for generating the glue code and makefile for interfacing generated code and Simulink.

Author:
Milan Vukov

Definition at line 47 of file export_simulink_interface.hpp.


Constructor & Destructor Documentation

BEGIN_NAMESPACE_ACADO ExportSimulinkInterface::ExportSimulinkInterface ( const std::string &  _makefileName,
const std::string &  _wrapperHeaderFileName,
const std::string &  _wrapperSourceFileName,
const std::string &  _moduleName = "acado",
const std::string &  _commonHeaderName = "",
const std::string &  _realString = "double",
const std::string &  _intString = "int",
int  _precision = 16,
const std::string &  _commentString = std::string() 
)

Default constructor.

Parameters:
[in]_moduleNameModule name for customization.
[in]_commonHeaderNameName of common header file to be included.
[in]_realStringstd::string to be used to declare real variables.
[in]_intStringstd::string to be used to declare integer variables.
[in]_precisionNumber of digits to be used for exporting real values.
[in]_commentStringstd::string to be used for exporting comments.
Returns:
SUCCESSFUL_RETURN

Definition at line 42 of file export_simulink_interface.cpp.

Destructor.

Definition at line 74 of file export_simulink_interface.hpp.


Member Function Documentation

returnValue ExportSimulinkInterface::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 
)

Configure the template

Returns:
SUCCESSFUL_RETURN

Definition at line 59 of file export_simulink_interface.cpp.

Export the interface.

Definition at line 123 of file export_simulink_interface.cpp.


Member Data Documentation

Definition at line 102 of file export_simulink_interface.hpp.

std::string ExportSimulinkInterface::moduleName [private]

Definition at line 105 of file export_simulink_interface.hpp.

Definition at line 104 of file export_simulink_interface.hpp.

Definition at line 103 of file export_simulink_interface.hpp.


The documentation for this class was generated from the following files:


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Sat Jun 8 2019 19:40:24