17 #ifndef __sot_talos_balance_dummy_walking_pattern_generator_H__
18 #define __sot_talos_balance_dummy_walking_pattern_generator_H__
25 #if defined(dummy_walking_pattern_generator_EXPORTS)
26 #define DUMMYWALKINGPATTERNGENERATOR_EXPORT __declspec(dllexport)
28 #define DUMMYWALKINGPATTERNGENERATOR_EXPORT __declspec(dllimport)
31 #define DUMMYWALKINGPATTERNGENERATOR_EXPORT
37 #include <pinocchio/fwd.hpp>
41 #include <dynamic-graph/linear-algebra.h>
42 #include <dynamic-graph/signal-helper.h>
45 #include <sot/core/matrix-geometry.hh>
46 #include <sot/core/robot-utils.hh>
48 #include "boost/assign.hpp"
52 namespace talos_balance {
59 :
public ::dynamicgraph::Entity {
60 DYNAMIC_GRAPH_ENTITY_DECL();
63 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
71 DECLARE_SIGNAL_IN(
omega,
double);
72 DECLARE_SIGNAL_IN(rho,
double);
73 DECLARE_SIGNAL_IN(phase,
int);
75 DECLARE_SIGNAL_IN(footLeft, MatrixHomogeneous);
76 DECLARE_SIGNAL_IN(footRight, MatrixHomogeneous);
77 DECLARE_SIGNAL_IN(waist, MatrixHomogeneous);
85 DECLARE_SIGNAL_IN(referenceFrame, MatrixHomogeneous);
87 DECLARE_SIGNAL_INNER(
rf, MatrixHomogeneous);
95 DECLARE_SIGNAL_OUT(footLeftDes, MatrixHomogeneous);
96 DECLARE_SIGNAL_OUT(footRightDes, MatrixHomogeneous);
97 DECLARE_SIGNAL_OUT(waistDes, MatrixHomogeneous);
99 DECLARE_SIGNAL_OUT(omegaDes,
double);
100 DECLARE_SIGNAL_OUT(rhoDes,
double);
101 DECLARE_SIGNAL_OUT(phaseDes,
int);
105 virtual void display(std::ostream& os)
const;
112 MatrixHomogeneous actInv(MatrixHomogeneous m1, MatrixHomogeneous m2);
120 #endif // #ifndef __sot_talos_balance_dummy_walking_pattern_generator_H__