|
|
#include <ArmarXCore/observers/filters/rtfilters/ButterworthFilter.h>
Inheritance diagram for ButterworthFilter:Public Member Functions | |
| ButterworthFilter (double frequency, int sampleRate, PassType filterPassType, double resonance) | |
| double | calculate () override |
| RTFilterBasePtr | clone () const override |
| void | setInitialValue (double value) |
| double | update (const IceUtil::Time ×tamp, double newValue) override |
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 | ~RTFilterBase () |
Protected Attributes | |
| double | a1 |
| double | a2 |
| double | a3 |
| double | b1 |
| double | b2 |
| double | c |
| ::armarx::PassType | filterPassType |
| double | frequency |
| std::vector< double > | inputHistory = std::vector<double>(2, 0.0) |
| Array of input values, latest are in front. More... | |
| double | newestValue |
| std::vector< double > | outputHistory = std::vector<double>(3, 0.0) |
| Array of output values, latest are in front. More... | |
| double | resonance |
| int | sampleRate |
Protected Attributes inherited from RTFilterBase | |
| double | currentValue = 0.0 |
| boost::circular_buffer< std::pair< IceUtil::Time, double > > | dataHistory |
Definition at line 34 of file ButterworthFilter.h.
| ButterworthFilter | ( | double | frequency, |
| int | sampleRate, | ||
| PassType | filterPassType, | ||
| double | resonance | ||
| ) |
|
overridevirtual |
Implements RTFilterBase.
Definition at line 96 of file ButterworthFilter.cpp.
Here is the caller graph for this function:
|
overridevirtual |
Implements RTFilterBase.
Definition at line 75 of file ButterworthFilter.cpp.
Here is the call graph for this function:| void setInitialValue | ( | double | value | ) |
|
overridevirtual |
Reimplemented from RTFilterBase.
Definition at line 113 of file ButterworthFilter.cpp.
Here is the call graph for this function:
|
protected |
Definition at line 66 of file ButterworthFilter.h.
|
protected |
Definition at line 68 of file ButterworthFilter.h.
|
protected |
Definition at line 70 of file ButterworthFilter.h.
|
protected |
Definition at line 72 of file ButterworthFilter.h.
|
protected |
Definition at line 74 of file ButterworthFilter.h.
|
protected |
Definition at line 64 of file ButterworthFilter.h.
|
protected |
Definition at line 62 of file ButterworthFilter.h.
|
protected |
Definition at line 58 of file ButterworthFilter.h.
|
protected |
Array of input values, latest are in front.
Definition at line 51 of file ButterworthFilter.h.
|
protected |
Definition at line 49 of file ButterworthFilter.h.
|
protected |
Array of output values, latest are in front.
Definition at line 54 of file ButterworthFilter.h.
|
protected |
Definition at line 56 of file ButterworthFilter.h.
|
protected |
Definition at line 60 of file ButterworthFilter.h.