- 3.0.2 models module.
QuadrotorWithLoad.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 #include <ct/rbd/rbd.h>
9 
10 #include "generated/declarations.h"
11 #include "generated/forward_dynamics.h"
12 #include "generated/inertia_properties.h"
13 #include "generated/inverse_dynamics.h"
14 #include "generated/jacobians.h"
15 #include "generated/jsim.h"
16 #include "generated/transforms.h"
17 #include "generated/link_data_map.h"
18 #include "generated/traits.h"
19 
20 
21 // define namespace and base
22 #define ROBCOGEN_NS ct_quadrotor
23 #define TARGET_NS quadrotor
24 
25 // define the links
26 #define CT_BASE fr_body
27 #define CT_L0 link1
28 #define CT_L1 link2
29 
30 // define first end effector, the endeffector frame
31 #define CT_N_EE 1
32 #define CT_EE0 fr_ee
33 #define CT_EE0_IS_ON_LINK 1
34 #define CT_EE0_FIRST_JOINT 0
35 #define CT_EE0_LAST_JOINT 1
36