- 3.0.2 models module.
quadVisParameters.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 
9 #include <Eigen/Dense>
10 
11 namespace ct {
12 namespace models {
13 namespace quadrotor {
14 
15 // A few parameters relevant for the visualization only:
16 
17 enum ROTORS
18 {
19  ROTOR_1 = 0,
20  ROTOR_2 = 1,
21  ROTOR_3 = 2,
22  ROTOR_4 = 3,
24 };
25 
26 const double arm_width = arm_len / 8.0;
27 const double rotorDiameter = 2.0 * 0.1;
28 const double rotorHeight = rotorDiameter * 0.1;
29 
31  Eigen::Vector3d(0.0, arm_len, arm_width / 2.0), Eigen::Vector3d(-arm_len, 0.0, arm_width / 2.0),
32  Eigen::Vector3d(0.0, -arm_len, arm_width / 2.0)};
33 
34 } // namespace quadrotor
35 }
36 }
const double rotorHeight
Definition: quadVisParameters.hpp:28
const Eigen::Vector3d rotorPositions[N_ROTORS]
Definition: quadVisParameters.hpp:30
Cored::Vector3 Vector3d
Definition: quadVisParameters.hpp:22
const double rotorDiameter
Definition: quadVisParameters.hpp:27
Definition: quadVisParameters.hpp:19
Definition: quadVisParameters.hpp:23
const double arm_width
Definition: quadVisParameters.hpp:26
Definition: quadVisParameters.hpp:20
const double arm_len
Definition: quadModelParameters.hpp:20
Definition: quadVisParameters.hpp:21
ROTORS
Definition: quadVisParameters.hpp:17