17 #ifndef __sot_talos_balance_foot_force_difference_controller_H__
18 #define __sot_talos_balance_foot_force_difference_controller_H__
25 #if defined(foot_force_difference_controller_EXPORTS)
26 #define FOOT_FORCE_DIFFERENCE_CONTROLLER_EXPORT __declspec(dllexport)
28 #define FOOT_FORCE_DIFFERENCE_CONTROLLER_EXPORT __declspec(dllimport)
31 #define FOOT_FORCE_DIFFERENCE_CONTROLLER_EXPORT
38 #include <dynamic-graph/linear-algebra.h>
39 #include <dynamic-graph/signal-helper.h>
42 #include <sot/core/matrix-geometry.hh>
44 #include "boost/assign.hpp"
48 namespace talos_balance {
55 :
public ::dynamicgraph::Entity {
56 DYNAMIC_GRAPH_ENTITY_DECL();
59 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
67 DECLARE_SIGNAL_IN(phase,
int);
84 DECLARE_SIGNAL_IN(posRightDes, MatrixHomogeneous);
85 DECLARE_SIGNAL_IN(posLeftDes, MatrixHomogeneous);
86 DECLARE_SIGNAL_IN(posRight, MatrixHomogeneous);
87 DECLARE_SIGNAL_IN(posLeft, MatrixHomogeneous);
89 DECLARE_SIGNAL_INNER(dz_ctrl,
double);
90 DECLARE_SIGNAL_INNER(dz_pos,
double);
95 DECLARE_SIGNAL_OUT(gainRight,
double);
96 DECLARE_SIGNAL_OUT(gainLeft,
double);
100 virtual void display(std::ostream& os)
const;
103 Eigen::Vector3d calcSwingAdmittance(
117 #endif // #ifndef __sot_talos_balance_foot_force_difference_controller_H__