iCub-main
|
Interface for the filters implemented in iCub::crtl. More...
#include <filters.h>
Public Member Functions | |
virtual | ~IFilter () |
Destructor. More... | |
virtual void | init (const yarp::sig::Vector &y0)=0 |
Internal state reset. More... | |
virtual const yarp::sig::Vector & | filt (const yarp::sig::Vector &u)=0 |
Performs filtering on the actual input. More... | |
virtual const yarp::sig::Vector & | output () const =0 |
Return current filter output. More... | |
|
inlinevirtual |
|
pure virtual |
Performs filtering on the actual input.
u | reference to the actual input. |
Implemented in iCub::ctrl::MedianFilter, iCub::ctrl::FirstOrderLowPassFilter, iCub::ctrl::RateLimiter, and iCub::ctrl::Filter.
|
pure virtual |
Internal state reset.
y0 | new internal state. |
Implemented in iCub::ctrl::MedianFilter, iCub::ctrl::FirstOrderLowPassFilter, iCub::ctrl::Filter, and iCub::ctrl::RateLimiter.
|
pure virtual |
Return current filter output.
Implemented in iCub::ctrl::MedianFilter, iCub::ctrl::FirstOrderLowPassFilter, iCub::ctrl::RateLimiter, and iCub::ctrl::Filter.