iCub-main
|
Adaptive window linear fitting to estimate the first derivative. More...
#include <adaptWinPolyEstimator.h>
Public Member Functions | |
AWLinEstimator (unsigned int _N, const double _D) | |
Public Member Functions inherited from iCub::ctrl::AWPolyEstimator | |
AWPolyEstimator (unsigned int _order, unsigned int _N, const double _D) | |
Create a polynomial estimator object of order _order on an adaptive window of a maximum length _N an threshold _D. More... | |
AWPolyList & | getList () |
Return a reference to internal elements list. More... | |
void | feedData (const AWPolyElement &el) |
Feed data into the algorithm. More... | |
yarp::sig::Vector | getWinLen () |
Return the current windows lengths. More... | |
yarp::sig::Vector | getMSE () |
Return the mean squared error (MSE) computed over the current windows lengths between the predictions and the real data. More... | |
yarp::sig::Vector | estimate () |
Execute the algorithm upon the elements list, with the max deviation threshold given by D. More... | |
yarp::sig::Vector | estimate (const AWPolyElement &el) |
Execute the algorithm upon the elements list, with the max deviation threshold given by D. More... | |
void | reset () |
Reinitialize the internal state. More... | |
virtual | ~AWPolyEstimator () |
Destructor. More... | |
Protected Member Functions | |
virtual yarp::sig::Vector | fit (const yarp::sig::Vector &x, const yarp::sig::Vector &y, const unsigned int n=0) |
Redefine method to improve computation just for first-order estimator. More... | |
virtual double | getEsteeme () |
Return the current estimation. More... | |
Protected Member Functions inherited from iCub::ctrl::AWPolyEstimator | |
virtual double | eval (double x) |
Evaluate regressor at certain point. More... | |
Additional Inherited Members | |
Protected Attributes inherited from iCub::ctrl::AWPolyEstimator | |
AWPolyList | elemList |
unsigned int | order |
unsigned int | N |
double | D |
yarp::sig::Vector | t |
yarp::sig::Vector | x |
yarp::sig::Vector | coeff |
yarp::sig::Vector | winLen |
yarp::sig::Vector | mse |
bool | firstRun |
Adaptive window linear fitting to estimate the first derivative.
Definition at line 184 of file adaptWinPolyEstimator.h.
|
inline |
Definition at line 197 of file adaptWinPolyEstimator.h.
|
protectedvirtual |
Redefine method to improve computation just for first-order estimator.
Reimplemented from iCub::ctrl::AWPolyEstimator.
Definition at line 204 of file adaptWinPolyEstimator.cpp.
|
inlineprotectedvirtual |
Return the current estimation.
Implements iCub::ctrl::AWPolyEstimator.
Definition at line 194 of file adaptWinPolyEstimator.h.