17 #ifndef __sot_talos_balance_hip_flexibility_compensation_H__
18 #define __sot_talos_balance_hip_flexibility_compensation_H__
25 #if defined(hip_flexibility_compensation_EXPORTS)
26 #define HIPFLEXIBILITYCOMPENSATION_EXPORT __declspec(dllexport)
28 #define HIPFLEXIBILITYCOMPENSATION_EXPORT __declspec(dllimport)
31 #define HIPFLEXIBILITYCOMPENSATION_EXPORT
38 #include <pinocchio/fwd.hpp>
42 #include <dynamic-graph/signal-helper.h>
45 #include <sot/core/robot-utils.hh>
47 #include "boost/assign.hpp"
51 namespace talos_balance {
58 :
public ::dynamicgraph::Entity {
59 DYNAMIC_GRAPH_ENTITY_DECL();
62 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
69 DECLARE_SIGNAL_IN(phase,
int);
76 DECLARE_SIGNAL_IN(K_l,
double);
78 DECLARE_SIGNAL_IN(K_r,
double);
92 virtual void display(std::ostream& os)
const;
95 void init(
const double&
dt,
const std::string&
robotName);
97 void setTorqueLowPassFilterFrequency(
const double& frequency);
100 void setAngularSaturation(
const double& saturation);
102 void setRateLimiter(
const double& rate);
134 #endif // #ifndef __sot_talos_balance_hip_flexibility_compensation_H__