- 3.0.2 optimal control module.
|
System model is an interface that encapsulates the integrator to be able to propagate the system, but is also able to compute derivatives w.r.t. both state and noise. More...
#include <SystemModelBase.h>
Public Types | |
using | state_vector_t = ct::core::StateVector< STATE_DIM, SCALAR > |
using | state_matrix_t = ct::core::StateMatrix< STATE_DIM, SCALAR > |
using | control_vector_t = ct::core::ControlVector< CONTROL_DIM, SCALAR > |
using | Time_t = SCALAR |
Public Member Functions | |
virtual | ~SystemModelBase ()=default |
Virtual destructor. More... | |
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. More... | |
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. More... | |
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. More... | |
System model is an interface that encapsulates the integrator to be able to propagate the system, but is also able to compute derivatives w.r.t. both state and noise.
STATE_DIM | |
CONTROL_DIM |
using ct::optcon::SystemModelBase< STATE_DIM, CONTROL_DIM, SCALAR >::state_vector_t = ct::core::StateVector<STATE_DIM, SCALAR> |
using ct::optcon::SystemModelBase< STATE_DIM, CONTROL_DIM, SCALAR >::state_matrix_t = ct::core::StateMatrix<STATE_DIM, SCALAR> |
using ct::optcon::SystemModelBase< STATE_DIM, CONTROL_DIM, SCALAR >::control_vector_t = ct::core::ControlVector<CONTROL_DIM, SCALAR> |
using ct::optcon::SystemModelBase< STATE_DIM, CONTROL_DIM, SCALAR >::Time_t = SCALAR |
|
virtualdefault |
Virtual destructor.
|
pure virtual |
Propagates the system giving the next state as output.
Implemented in ct::optcon::CTSystemModel< STATE_DIM, CONTROL_DIM, SCALAR >.
|
pure virtual |
Computes the derivative w.r.t state.
Implemented in ct::optcon::CTSystemModel< STATE_DIM, CONTROL_DIM, SCALAR >.
|
pure virtual |
Computes the derivative w.r.t noise.
Implemented in ct::optcon::CTSystemModel< STATE_DIM, CONTROL_DIM, SCALAR >.