17 #ifndef __sot_talos_balance_example_H__ 18 #define __sot_talos_balance_example_H__ 25 # if defined (position_controller_EXPORTS) 26 # define EXAMPLE_EXPORT __declspec(dllexport) 28 # define EXAMPLE_EXPORT __declspec(dllimport) 31 # define EXAMPLE_EXPORT 39 #include <dynamic-graph/signal-helper.h> 42 #include "boost/assign.hpp" 43 #include <sot/core/robot-utils.hh> 47 namespace talos_balance {
54 :
public ::dynamicgraph::Entity
56 DYNAMIC_GRAPH_ENTITY_DECL();
59 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
62 Example(
const std::string & name );
64 void init(
const std::string& robotName);
67 DECLARE_SIGNAL_IN(firstAddend,
double);
68 DECLARE_SIGNAL_IN(secondAddend,
double);
70 DECLARE_SIGNAL_OUT(sum,
double);
71 DECLARE_SIGNAL_OUT(nbJoints,
int);
75 virtual void display( std::ostream& os )
const;
89 #endif // #ifndef __sot_talos_balance_example_H__
RobotUtilShrPtr m_robot_util
true if the entity has been successfully initialized