Definition at line 32 of file post_processor_bodypose.h.
|
| | OneEuroFilter () |
| | Default constructor. More...
|
| |
| | OneEuroFilter (float dataUpdateRate, float minCutoffFreq, float cutoffSlope, float derivCutoffFreq) |
| | Constructor. More...
|
| |
| void | reset (float dataUpdateRate, float minCutoffFreq, float cutoffSlope, float derivCutoffFreq) |
| | Reset all parameters of the filter. More...
|
| |
| void | reset () |
| | Reset only the initial condition of the filter, leaving parameters the same. More...
|
| |
| float | filter (float x) |
| | Apply the one euro filter to the given input. More...
|
| |
◆ OneEuroFilter() [1/2]
| OneEuroFilter::OneEuroFilter |
( |
| ) |
|
|
inline |
◆ OneEuroFilter() [2/2]
| OneEuroFilter::OneEuroFilter |
( |
float |
dataUpdateRate, |
|
|
float |
minCutoffFreq, |
|
|
float |
cutoffSlope, |
|
|
float |
derivCutoffFreq |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
| dataUpdateRate | the sampling rate, i.e. the number of samples per unit of time. |
| minCutoffFreq | the lowest bandwidth filter applied. |
| cutoffSlope | the rate at which the filter adapts: higher levels reduce lag. |
| derivCutoffFreq | the bandwidth of the filter applied to smooth the derivative, default 1 Hz. |
Definition at line 43 of file post_processor_bodypose.h.
References reset().
◆ filter()
| float OneEuroFilter::filter |
( |
float |
x | ) |
|
|
inline |
Apply the one euro filter to the given input.
- Parameters
-
| x | the unfiltered input value. |
- Returns
- the filtered output value.
Definition at line 59 of file post_processor_bodypose.h.
◆ reset() [1/2]
| void OneEuroFilter::reset |
( |
| ) |
|
|
inline |
◆ reset() [2/2]
| void OneEuroFilter::reset |
( |
float |
dataUpdateRate, |
|
|
float |
minCutoffFreq, |
|
|
float |
cutoffSlope, |
|
|
float |
derivCutoffFreq |
|
) |
| |
|
inline |
Reset all parameters of the filter.
- Parameters
-
| dataUpdateRate | the sampling rate, i.e. the number of samples per unit of time. |
| minCutoffFreq | the lowest bandwidth filter applied. |
| cutoffSlope | the rate at which the filter adapts: higher levels reduce lag. |
| derivCutoffFreq | the bandwidth of the filter applied to smooth the derivative, default 1 Hz. |
Definition at line 51 of file post_processor_bodypose.h.
References reset().
The documentation for this class was generated from the following file: