state-observation 1.7.0
Loading...
Searching...
No Matches
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
30namespace stateObservation
31{
32
33namespace hrp2
34{
36constexpr double m = 56.8;
37
39constexpr double linKe = 40000;
40constexpr double angKe = 400;
41constexpr double linKv = 600;
42constexpr double angKv = 10;
43
44struct 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
constexpr double linKv
Definition hrp2.hpp:41
constexpr double angKe
Definition hrp2.hpp:40
constexpr double linKe
stifness and damping
Definition hrp2.hpp:39
constexpr double angKv
Definition hrp2.hpp:42
constexpr double m
mass of the robot
Definition hrp2.hpp:36
Definition bidim-elastic-inv-pendulum-dyn-sys.hpp:21
Definition hrp2.hpp:45
static const unsigned nbModeledMax
Definition hrp2.hpp:47
static const unsigned lf
Definition hrp2.hpp:49
static const unsigned rf
Definition hrp2.hpp:50
static const unsigned nbMax
Definition hrp2.hpp:46
static const unsigned lh
Definition hrp2.hpp:51
static const unsigned rh
Definition hrp2.hpp:52