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