- 3.0.2 optimal control module.
DmsDimensions.h
Go to the documentation of this file.
1 /**********************************************************************************************************************
2 This file is part of the Control Toolbox (https://github.com/ethz-adrl/control-toolbox), copyright by ETH Zurich.
3 Licensed under the BSD-2 license (see LICENSE file in main directory)
4 **********************************************************************************************************************/
5 
6 #pragma once
7 
8 namespace ct {
9 namespace optcon {
10 
17 template <size_t STATE_DIM, size_t CONTROL_DIM, typename SCALAR = double>
19 {
20 public:
21  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
22 
25 
26  typedef Eigen::Matrix<SCALAR, STATE_DIM, STATE_DIM> state_matrix_t;
28 
29  typedef Eigen::Matrix<SCALAR, STATE_DIM, CONTROL_DIM> state_control_matrix_t;
31 
32  typedef Eigen::Matrix<SCALAR, CONTROL_DIM, STATE_DIM> control_state_matrix_t;
33 
36 
37  typedef Eigen::Matrix<SCALAR, CONTROL_DIM, CONTROL_DIM> control_matrix_t;
39 
40  typedef SCALAR time_t;
42 };
43 
44 } // namespace optcon
45 } // namespace ct
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef ct::core::StateVector< STATE_DIM, SCALAR > state_vector_t
Definition: DmsDimensions.h:23
ct::core::StateMatrixArray< STATE_DIM, SCALAR > state_matrix_array_t
Definition: DmsDimensions.h:27
ct::core::StateVectorArray< STATE_DIM, SCALAR > state_vector_array_t
Definition: DmsDimensions.h:24
Eigen::Matrix< SCALAR, CONTROL_DIM, STATE_DIM > control_state_matrix_t
Definition: DmsDimensions.h:32
CppAD::AD< CppAD::cg::CG< double > > SCALAR
Eigen::Matrix< SCALAR, STATE_DIM, CONTROL_DIM > state_control_matrix_t
Definition: DmsDimensions.h:29
SCALAR time_t
Definition: DmsDimensions.h:40
Defines basic types used in the DMS algorithm.
Definition: DmsDimensions.h:18
Eigen::Matrix< SCALAR, STATE_DIM, STATE_DIM > state_matrix_t
Definition: DmsDimensions.h:26
Eigen::Matrix< SCALAR, CONTROL_DIM, CONTROL_DIM > control_matrix_t
Definition: DmsDimensions.h:37
ct::core::StateControlMatrixArray< STATE_DIM, CONTROL_DIM, SCALAR > state_control_matrix_array_t
Definition: DmsDimensions.h:30
ct::core::ControlVector< CONTROL_DIM, SCALAR > control_vector_t
Definition: DmsDimensions.h:34
ct::core::ControlMatrixTrajectory< CONTROL_DIM, SCALAR > control_matrix_array_t
Definition: DmsDimensions.h:38
ct::core::ControlVectorArray< CONTROL_DIM, SCALAR > control_vector_array_t
Definition: DmsDimensions.h:35
ct::core::tpl::TimeArray< SCALAR > time_array_t
Definition: DmsDimensions.h:41