integrates an ODE. If Y is the output and X the input, the following equation is integrated: a_p * d(p)Y / dt^p + .... + a_0 Y = b_m * d(m)X / dt^m + ... . b_0 X a_i are the coefficients of the denominator of the associated transfer function between X and Y, while the b_i are those of the numerator. More...
#include <sot/core/integrator-abstract.hh>
Public Member Functions | |
IntegratorAbstract (const std::string &name) | |
virtual | ~IntegratorAbstract () |
virtual sigT & | integrate (sigT &res, int time)=0 |
void | pushNumCoef (const coefT &numCoef) |
void | pushDenomCoef (const coefT &denomCoef) |
void | popNumCoef () |
void | popDenomCoef () |
Public Attributes | |
dg::SignalPtr< sigT, int > | SIN |
dg::SignalTimeDependent< sigT, int > | SOUT |
Protected Attributes | |
std::vector< coefT > | numerator |
std::vector< coefT > | denominator |
integrates an ODE. If Y is the output and X the input, the following equation is integrated: a_p * d(p)Y / dt^p + .... + a_0 Y = b_m * d(m)X / dt^m + ... . b_0 X a_i are the coefficients of the denominator of the associated transfer function between X and Y, while the b_i are those of the numerator.
|
inline |
References dynamicgraph::sot::IntegratorAbstract< sigT, coefT >::popDenomCoef(), dynamicgraph::sot::IntegratorAbstract< sigT, coefT >::popNumCoef(), dynamicgraph::sot::IntegratorAbstract< sigT, coefT >::pushDenomCoef(), dynamicgraph::sot::IntegratorAbstract< sigT, coefT >::pushNumCoef(), dynamicgraph::sot::IntegratorAbstract< sigT, coefT >::SIN, and dynamicgraph::sot::IntegratorAbstract< sigT, coefT >::SOUT.
|
inlinevirtual |
|
pure virtual |
Implemented in dynamicgraph::sot::IntegratorEuler< sigT, coefT >.
Referenced by dynamicgraph::sot::IntegratorAbstract< sigT, coefT >::~IntegratorAbstract().
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
dg::SignalPtr<sigT, int> dynamicgraph::sot::IntegratorAbstract< sigT, coefT >::SIN |
dg::SignalTimeDependent<sigT, int> dynamicgraph::sot::IntegratorAbstract< sigT, coefT >::SOUT |