20 template <
size_t STATE_DIM,
size_t CONTROL_DIM,
typename SCALAR =
double>
virtual ~SystemModelBase()=default
Virtual destructor.
virtual state_vector_t computeDynamics(const state_vector_t &state, const control_vector_t &control, const Time_t dt, Time_t t)=0
Propagates the system giving the next state as output.
clear all close all load ct GNMSLog0 mat reformat t
Definition: gnmsPlot.m:6
const double dt
Definition: LQOCSolverTiming.cpp:18
CppAD::AD< CppAD::cg::CG< double > > SCALAR
virtual state_matrix_t computeDerivativeNoise(const state_vector_t &state, const control_vector_t &control, const Time_t dt, Time_t t)=0
Computes the derivative w.r.t noise.
System model is an interface that encapsulates the integrator to be able to propagate the system...
Definition: SystemModelBase.h:21
virtual state_matrix_t computeDerivativeState(const state_vector_t &state, const control_vector_t &control, const Time_t dt, Time_t t)=0
Computes the derivative w.r.t state.
SCALAR Time_t
Definition: SystemModelBase.h:27