sot-talos-balance  2.0.5
Collection of dynamic-graph entities aimed at implementing balance control on talos.
SimplePID Class Reference

#include <sot/talos_balance/simple-pid.hh>

Inheritance diagram for SimplePID:
Collaboration diagram for SimplePID:

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW SimplePID (const std::string &name)
 
 DECLARE_SIGNAL_IN (decayFactor, double)
 
 DECLARE_SIGNAL_IN (dx_des, dynamicgraph::Vector)
 
 DECLARE_SIGNAL_IN (Ki, dynamicgraph::Vector)
 
 DECLARE_SIGNAL_IN (Kp, dynamicgraph::Vector)
 
 DECLARE_SIGNAL_IN (x, dynamicgraph::Vector)
 
 DECLARE_SIGNAL_IN (x_des, dynamicgraph::Vector)
 
 DECLARE_SIGNAL_OUT (dx_ref, dynamicgraph::Vector)
 
virtual void display (std::ostream &os) const
 
void init (const double &dt, const int &N)
 
void resetIntegralError ()
 

Protected Attributes

double m_dt
 
bool m_initSucceeded
 
dynamicgraph::Vector m_integralError
 true if the entity has been successfully initialized More...
 

Detailed Description

Definition at line 52 of file simple-pid.hh.

Constructor & Destructor Documentation

◆ SimplePID()

SimplePID ( const std::string &  name)

Definition at line 53 of file simple-pid.cpp.

Member Function Documentation

◆ DECLARE_SIGNAL_IN() [1/6]

DECLARE_SIGNAL_IN ( decayFactor  ,
double   
)

◆ DECLARE_SIGNAL_IN() [2/6]

DECLARE_SIGNAL_IN ( dx_des  ,
dynamicgraph::Vector   
)

◆ DECLARE_SIGNAL_IN() [3/6]

DECLARE_SIGNAL_IN ( Ki  ,
dynamicgraph::Vector   
)

◆ DECLARE_SIGNAL_IN() [4/6]

DECLARE_SIGNAL_IN ( Kp  ,
dynamicgraph::Vector   
)

◆ DECLARE_SIGNAL_IN() [5/6]

DECLARE_SIGNAL_IN ( ,
dynamicgraph::Vector   
)

◆ DECLARE_SIGNAL_IN() [6/6]

DECLARE_SIGNAL_IN ( x_des  ,
dynamicgraph::Vector   
)

◆ DECLARE_SIGNAL_OUT()

DECLARE_SIGNAL_OUT ( dx_ref  ,
dynamicgraph::Vector   
)

◆ display()

void display ( std::ostream &  os) const
virtual

Definition at line 126 of file simple-pid.cpp.

◆ init()

void init ( const double &  dt,
const int &  N 
)

Definition at line 75 of file simple-pid.cpp.

◆ resetIntegralError()

void resetIntegralError ( )

Definition at line 81 of file simple-pid.cpp.

Member Data Documentation

◆ m_dt

double m_dt
protected

Definition at line 86 of file simple-pid.hh.

◆ m_initSucceeded

bool m_initSucceeded
protected

Definition at line 84 of file simple-pid.hh.

◆ m_integralError

dynamicgraph::Vector m_integralError
protected

true if the entity has been successfully initialized

Definition at line 85 of file simple-pid.hh.


The documentation for this class was generated from the following files: