|
|
This filters allows to filter with an unstable frequency by considering only the valus in a specified timewindow. More...
#include <ArmarXCore/observers/filters/rtfilters/TimeWindowAverageFilter.h>
Inheritance diagram for TimeWindowAverageFilter:Public Member Functions | |
| double | calculate () override |
| RTFilterBasePtr | clone () const override |
| TimeWindowAverageFilter (IceUtil::Time timeWindowSize, double maxFrequency) | |
Public Member Functions inherited from RTFilterBase | |
| double | getCurrentValue () const |
| virtual void | reset () |
| RTFilterBase (const RTFilterBase &other)=default | |
| RTFilterBase (size_t historySize) | |
| double | update (double deltaSec, double newValue) |
| virtual double | update (IceUtil::Time const ×tamp, double newValue) |
| virtual | ~RTFilterBase () |
Additional Inherited Members | |
Protected Attributes inherited from RTFilterBase | |
| double | currentValue = 0.0 |
| boost::circular_buffer< std::pair< IceUtil::Time, double > > | dataHistory |
This filters allows to filter with an unstable frequency by considering only the valus in a specified timewindow.
An average filter is applied to all values in the time window.
Definition at line 36 of file TimeWindowAverageFilter.h.
| TimeWindowAverageFilter | ( | IceUtil::Time | timeWindowSize, |
| double | maxFrequency | ||
| ) |
Definition at line 30 of file TimeWindowAverageFilter.cpp.
|
overridevirtual |
Implements RTFilterBase.
Definition at line 38 of file TimeWindowAverageFilter.cpp.
|
overridevirtual |
Implements RTFilterBase.
Definition at line 74 of file TimeWindowAverageFilter.cpp.