17 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
36 const control_vector_t& u,
37 const state_vector_t& x_next,
41 state_control_matrix_t& B)
override 51 const control_vector_t&
u,
55 const control_vector_t& u,
68 state_control_matrix_t dFdu_;
69 std::array<float, 0> vX_;
70 std::array<float, 0> vU_;
ControlVector< CONTROL_DIM, float > control_vector_t
Definition: DiscreteSystem.h:17
Base::state_vector_t state_vector_t
Definition: TestDiscreteNonlinearSystemLinearizedFloat.h:21
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef ct::core::DiscreteLinearSystem< 2, 1, float > Base
Definition: TestDiscreteNonlinearSystemLinearizedFloat.h:19
Definition: TestDiscreteNonlinearSystemLinearizedFloat.h:14
virtual const state_control_matrix_t & getDerivativeControl(const state_vector_t &x, const control_vector_t &u, const int t=0)
Definition: TestDiscreteNonlinearSystemLinearizedFloat_B.cpp:14
TestDiscreteNonlinearSystemLinearizedFloat(const ct::core::SYSTEM_TYPE &type=ct::core::SYSTEM_TYPE::GENERAL)
Definition: TestDiscreteNonlinearSystemLinearizedFloat.h:26
ct::core::ControlVector< control_dim > u
void getAandB(const state_vector_t &x, const control_vector_t &u, const state_vector_t &x_next, const int n, size_t numSteps, state_matrix_t &A, state_control_matrix_t &B) override
Definition: TestDiscreteNonlinearSystemLinearizedFloat.h:35
interface class for a general discrete linear system or linearized discrete system ...
Definition: DiscreteLinearSystem.h:23
virtual ~TestDiscreteNonlinearSystemLinearizedFloat()
Definition: TestDiscreteNonlinearSystemLinearizedFloat.h:32
StateVector< STATE_DIM, float > state_vector_t
Definition: DiscreteSystem.h:16
clear all close all load ct GNMSLog0 mat reformat t
Base::control_vector_t control_vector_t
Definition: TestDiscreteNonlinearSystemLinearizedFloat.h:22
constexpr size_t n
Definition: MatrixInversionTest.cpp:14
Base::state_matrix_t state_matrix_t
Definition: TestDiscreteNonlinearSystemLinearizedFloat.h:23
ct::core::StateVector< state_dim > x
SYSTEM_TYPE
type of system
Definition: System.h:15
virtual TestDiscreteNonlinearSystemLinearizedFloat * clone() const override
deep cloning
Definition: TestDiscreteNonlinearSystemLinearizedFloat.h:34
any non-specific system
Definition: System.h:17
virtual const state_matrix_t & getDerivativeState(const state_vector_t &x, const control_vector_t &u, const int t=0)
Definition: TestDiscreteNonlinearSystemLinearizedFloat_A.cpp:14
TestDiscreteNonlinearSystemLinearizedFloat(const TestDiscreteNonlinearSystemLinearizedFloat &other)
Definition: TestDiscreteNonlinearSystemLinearizedFloat.h:31
Base::state_control_matrix_t state_control_matrix_t
Definition: TestDiscreteNonlinearSystemLinearizedFloat.h:24