17 #ifndef __sot_talos_balance_simple_pidd_H__
18 #define __sot_talos_balance_simple_pidd_H__
25 #if defined(simple_pidd_EXPORTS)
26 #define SIMPLE_PIDD_EXPORT __declspec(dllexport)
28 #define SIMPLE_PIDD_EXPORT __declspec(dllimport)
31 #define SIMPLE_PIDD_EXPORT
38 #include <dynamic-graph/signal-helper.h>
42 #include "boost/assign.hpp"
46 namespace talos_balance {
53 DYNAMIC_GRAPH_ENTITY_DECL();
56 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
61 void init(
const double&
dt,
const int& N);
64 void resetIntegralError();
86 virtual void display(std::ostream& os)
const;
DECLARE_SIGNAL_IN(Kp, dynamicgraph::Vector)
DECLARE_SIGNAL_IN(x_des, dynamicgraph::Vector)
DECLARE_SIGNAL_IN(ddx_des, dynamicgraph::Vector)
dynamicgraph::Vector m_dx_ref
true if the entity has been successfully initialized
DECLARE_SIGNAL_OUT(dx_ref, dynamicgraph::Vector)
DECLARE_SIGNAL_IN(Kd, dynamicgraph::Vector)
DECLARE_SIGNAL_IN(x, dynamicgraph::Vector)
DECLARE_SIGNAL_IN(decayFactor, double)
DECLARE_SIGNAL_IN(Ki, dynamicgraph::Vector)
dynamicgraph::Vector m_integralError
DECLARE_SIGNAL_IN(dx, dynamicgraph::Vector)
DECLARE_SIGNAL_IN(dx_des, dynamicgraph::Vector)
DECLARE_SIGNAL_OUT(ddx_ref, dynamicgraph::Vector)
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > Vector
#define SIMPLE_PIDD_EXPORT