14 template <
typename SCALAR>
33 state_control_matrix_t B,
48 derivative = A_ * state + B_ * control;
53 state_control_matrix_t B_;
ControlVector< CONTROL_DIM, SCALAR > control_vector_t
Definition: TestLinearSystem.h:23
StateMatrix< STATE_DIM, SCALAR > state_matrix_t
state Jacobian type
Definition: TestLinearSystem.h:26
virtual void computeControlledDynamics(const StateVector< STATE_DIM, SCALAR > &state, const time_t &t, const ControlVector< CONTROL_DIM, SCALAR > &control, StateVector< STATE_DIM, SCALAR > &derivative) override
Definition: TestLinearSystem.h:43
TestLinearSystem(state_matrix_t A, state_control_matrix_t B, std::shared_ptr< Controller< 2, 1, SCALAR >> controller=nullptr)
Definition: TestLinearSystem.h:32
StateVector< STATE_DIM, SCALAR > state_vector_t
Definition: TestLinearSystem.h:22
StateControlMatrix< STATE_DIM, CONTROL_DIM, SCALAR > state_control_matrix_t
input Jacobian type
Definition: TestLinearSystem.h:27
clear all close all load ct GNMSLog0 mat reformat t
Definition: gnmsPlot.m:6
ControlledSystem< 2, 1, SCALAR > Base
Definition: TestLinearSystem.h:18
static const size_t STATE_DIM
Definition: TestLinearSystem.h:19
TestLinearSystem()=delete
virtual ~TestLinearSystem()
Definition: TestLinearSystem.h:41
TestLinearSystem(const TestLinearSystem &arg)
Definition: TestLinearSystem.h:40
Definition: TestLinearSystem.h:15
TestLinearSystem * clone() const override
Definition: TestLinearSystem.h:42
Base::time_t time_t
Definition: TestLinearSystem.h:24
static const size_t CONTROL_DIM
Definition: TestLinearSystem.h:20