hrp2.hpp
Go to the documentation of this file.
1 
12 #ifndef HRP2CONSTANTS
13 #define HRP2CONSTANTS
14 
15 // #define STATEOBSERVATION_VERBOUS_CONSTRUCTORS
16 
17 #include <deque>
18 #include <vector>
19 
20 #ifdef STATEOBSERVATION_VERBOUS_CONSTRUCTORS
21 # include <iostream>
22 #endif
23 
24 #include <boost/assert.hpp>
25 
26 #include <Eigen/Core>
27 #include <Eigen/Geometry>
28 #include <state-observation/api.h>
29 
30 namespace stateObservation
31 {
32 
33 namespace hrp2
34 {
36 constexpr double m = 56.8;
37 
39 constexpr double linKe = 40000;
40 constexpr double angKe = 400;
41 constexpr double linKv = 600;
42 constexpr double angKv = 10;
43 
44 struct contact
45 {
46  static const unsigned nbMax = 4;
47  static const unsigned nbModeledMax = 2;
48  // index for the contacts
49  static const unsigned lf = 0;
50  static const unsigned rf = 1;
51  static const unsigned lh = 2;
52  static const unsigned rh = 3;
53 };
54 } // namespace hrp2
55 
56 } // namespace stateObservation
57 
58 #endif // HRP2CONSTANTS
stateObservation::hrp2::angKv
constexpr double angKv
Definition: hrp2.hpp:42
stateObservation::hrp2::linKv
constexpr double linKv
Definition: hrp2.hpp:41
stateObservation::hrp2::contact::rf
static const unsigned rf
Definition: hrp2.hpp:50
stateObservation::hrp2::linKe
constexpr double linKe
stifness and damping
Definition: hrp2.hpp:39
stateObservation::hrp2::contact::lh
static const unsigned lh
Definition: hrp2.hpp:51
stateObservation::hrp2::contact::rh
static const unsigned rh
Definition: hrp2.hpp:52
stateObservation::hrp2::m
constexpr double m
mass of the robot
Definition: hrp2.hpp:36
stateObservation::hrp2::contact::nbMax
static const unsigned nbMax
Definition: hrp2.hpp:46
stateObservation::hrp2::contact
Definition: hrp2.hpp:44
stateObservation::hrp2::contact::nbModeledMax
static const unsigned nbModeledMax
Definition: hrp2.hpp:47
stateObservation::hrp2::angKe
constexpr double angKe
Definition: hrp2.hpp:40
stateObservation
Definition: bidim-elastic-inv-pendulum-dyn-sys.hpp:20
stateObservation::hrp2::contact::lf
static const unsigned lf
Definition: hrp2.hpp:49