- 3.0.2 models module.
declarations.hpp
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 models {
10 namespace quadrotor {
11 
12 const size_t nStates = 12;
13 const size_t nControls = 4;
14 
15 typedef Eigen::Matrix<double, nStates, 1> state_vector_t;
16 typedef Eigen::Matrix<double, nControls, 1> control_vector_t;
17 
18 typedef Eigen::Matrix<double, nStates, nStates> state_matrix_t;
19 typedef Eigen::Matrix<double, nControls, nControls> control_matrix_t;
20 typedef Eigen::Matrix<double, nStates, nControls> control_gain_matrix_t;
21 }
22 }
23 }
Eigen::Matrix< double, nStates, nControls > control_gain_matrix_t
Definition: declarations.hpp:20
Eigen::Matrix< double, nControls, nControls > control_matrix_t
Definition: declarations.hpp:19
Eigen::Matrix< double, nControls, 1 > control_vector_t
Definition: declarations.hpp:16
const size_t nControls
Definition: declarations.hpp:13
const size_t nStates
Definition: declarations.hpp:12
Eigen::Matrix< double, nStates, nStates > state_matrix_t
Definition: declarations.hpp:18
Eigen::Matrix< double, nStates, 1 > state_vector_t
Definition: declarations.hpp:15