17 #ifndef __sot_talos_balance_simple_pid_H__
18 #define __sot_talos_balance_simple_pid_H__
25 #if defined(simple_pid_EXPORTS)
26 #define SIMPLE_PID_EXPORT __declspec(dllexport)
28 #define SIMPLE_PID_EXPORT __declspec(dllimport)
31 #define SIMPLE_PID_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);
63 void resetIntegralError();
80 virtual void display(std::ostream& os)
const;
DECLARE_SIGNAL_IN(Kp, dynamicgraph::Vector)
DECLARE_SIGNAL_IN(x_des, dynamicgraph::Vector)
DECLARE_SIGNAL_OUT(dx_ref, dynamicgraph::Vector)
DECLARE_SIGNAL_IN(x, dynamicgraph::Vector)
DECLARE_SIGNAL_IN(decayFactor, double)
DECLARE_SIGNAL_IN(Ki, dynamicgraph::Vector)
dynamicgraph::Vector m_integralError
true if the entity has been successfully initialized
DECLARE_SIGNAL_IN(dx_des, dynamicgraph::Vector)
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > Vector
#define SIMPLE_PID_EXPORT