The MedianFilter class provides an implementation for a median for datafields of type float, int and double.
More...
#include <RobotAPI/libraries/core/observerfilters/PoseMedianOffsetFilter.h>
|
VariantBasePtr | calculate (const Ice::Current &c) const override |
|
ParameterTypeList | getSupportedTypes (const Ice::Current &c) const override |
| This filter supports: Vector3, FramedDirection, FramedPosition. More...
|
|
| PoseMedianOffsetFilter (int windowSize=11) |
|
void | update (Ice::Long timestamp, const VariantBasePtr &value, const Ice::Current &c) override |
|
VariantBasePtr | calculate (const Ice::Current &c=Ice::emptyCurrent) const override |
|
ParameterTypeList | getSupportedTypes (const Ice::Current &c=Ice::emptyCurrent) const override |
| This filter supports: Int, Long, Float, Double. More...
|
|
| MedianFilter (int windowSize=11) |
|
bool | checkTypeSupport (VariantTypeId variantType, const Ice::Current &c=Ice::emptyCurrent) const override |
| Checks whether the given type is supported. More...
|
|
| DatafieldFilter () |
|
| DatafieldFilter (DatafieldFilter const &filter) |
|
const TimeVariantBaseMap & | getDataHistory () const |
|
armarx::StringFloatDictionary | getProperties (const Ice::Current &c=Ice::emptyCurrent) const override |
|
VariantBasePtr | getValue (const Ice::Current &c=Ice::emptyCurrent) const override |
| Retrieves the current, filtered value. More...
|
|
void | setProperties (const armarx::StringFloatDictionary &newValues, const Ice::Current &c=Ice::emptyCurrent) override |
|
void | update (Ice::Long timestamp, const VariantBasePtr &value, const Ice::Current &c=Ice::emptyCurrent) override |
| Adds the given value to the data map, erases old values if maximum size was reached, and calculates the new filtered value. More...
|
|
The MedianFilter class provides an implementation for a median for datafields of type float, int and double.
Definition at line 39 of file PoseMedianOffsetFilter.h.
◆ PoseMedianOffsetFilter()
◆ calculate()
◆ getSupportedTypes()
armarx::ParameterTypeList getSupportedTypes |
( |
const Ice::Current & |
c | ) |
const |
|
override |
◆ update()
void update |
( |
Ice::Long |
timestamp, |
|
|
const VariantBasePtr & |
value, |
|
|
const Ice::Current & |
c |
|
) |
| |
|
override |
The documentation for this class was generated from the following files: