- 3.0.2 models module.
InvertedPendulum.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 <Eigen/Core>
9 #include <Eigen/StdVector>
10 
11 #include "generated/declarations.h"
12 #include "generated/jsim.h"
13 #include "generated/jacobians.h"
14 #include "generated/traits.h"
15 #include "generated/forward_dynamics.h"
16 #include "generated/inertia_properties.h"
17 #include "generated/inverse_dynamics.h"
18 #include "generated/transforms.h"
19 #include "generated/link_data_map.h"
20 
21 // define namespace and base
22 #define ROBCOGEN_NS ct_InvertedPendulum
23 #define TARGET_NS InvertedPendulum
24 
25 // define the links
26 #define CT_BASE fr_InvertedPendulumBase
27 #define CT_L0 fr_Link1
28 
29 // define single end effector (could also be multiple)
30 #define CT_N_EE 1
31 #define CT_EE0 fr_ee
32 #define CT_EE0_IS_ON_LINK 1
33 #define CT_EE0_FIRST_JOINT 0
34 #define CT_EE0_LAST_JOINT 0
35