72 window1.
addSubplot( 2.0*
sin(x)+y*u,
"Why not plotting fancy stuff!?" );
76 window2.
addSubplot( x,
"1st state evolving..." );
90 window3.
addSubplot( states(0),
"1st state obtained as VariablesGrid" );
91 window3.
addSubplot( states(1),
"2nd state obtained as VariablesGrid" );
104 window4.
addSubplot( data,
"Any data can be plotted" );
USING_NAMESPACE_ACADO IntermediateState sin(const Expression &arg)
returnValue minimizeLagrangeTerm(const Expression &arg)
virtual returnValue plot(PlotFrequency _frequency=PLOT_IN_ANY_CASE)
User-interface to formulate and solve optimal control problems and static NLPs.
#define USING_NAMESPACE_ACADO
Provides a time grid consisting of vector-valued optimization variables at each grid point...
returnValue subjectTo(const DifferentialEquation &differentialEquation_)
returnValue addSubplot(PlotWindowSubplot &_subplot)
Data class for defining optimal control problems.
Expression dot(const Expression &arg)
Provides an interface to Gnuplot for plotting algorithmic outputs.
virtual returnValue solve()
returnValue getDifferentialStates(VariablesGrid &xd_) const
Allows to setup and evaluate differential equations (ODEs and DAEs) based on SymbolicExpressions.