#include <IIRFilter.h>
Public Member Functions | |
FirstOrderLowPassFilter (const double _cutoff_freq, const double _dt, const T init_value) | |
T | getCurrentValue () const |
double | getCutOffFreq () const |
T | passFilter (T value) |
void | reset (T value) |
void | setCutOffFreq (const double f) |
~FirstOrderLowPassFilter () | |
Private Attributes | |
double | const_param |
double | cutoff_freq |
double | dt |
T | prev_value |
First order low pass filter
Definition at line 97 of file TorqueFilter/IIRFilter.h.
FirstOrderLowPassFilter< T >::FirstOrderLowPassFilter | ( | const double | _cutoff_freq, |
const double | _dt, | ||
const T | init_value | ||
) | [inline] |
Definition at line 103 of file TorqueFilter/IIRFilter.h.
FirstOrderLowPassFilter< T >::~FirstOrderLowPassFilter | ( | ) | [inline] |
Definition at line 107 of file TorqueFilter/IIRFilter.h.
T FirstOrderLowPassFilter< T >::getCurrentValue | ( | ) | const [inline] |
Definition at line 122 of file TorqueFilter/IIRFilter.h.
double FirstOrderLowPassFilter< T >::getCutOffFreq | ( | ) | const [inline] |
Definition at line 121 of file TorqueFilter/IIRFilter.h.
T FirstOrderLowPassFilter< T >::passFilter | ( | T | value | ) | [inline] |
Definition at line 110 of file TorqueFilter/IIRFilter.h.
void FirstOrderLowPassFilter< T >::reset | ( | T | value | ) | [inline] |
Definition at line 115 of file TorqueFilter/IIRFilter.h.
void FirstOrderLowPassFilter< T >::setCutOffFreq | ( | const double | f | ) | [inline] |
Definition at line 116 of file TorqueFilter/IIRFilter.h.
double FirstOrderLowPassFilter< T >::const_param [private] |
Definition at line 101 of file TorqueFilter/IIRFilter.h.
double FirstOrderLowPassFilter< T >::cutoff_freq [private] |
Definition at line 101 of file TorqueFilter/IIRFilter.h.
double FirstOrderLowPassFilter< T >::dt [private] |
Definition at line 101 of file TorqueFilter/IIRFilter.h.
T FirstOrderLowPassFilter< T >::prev_value [private] |
Definition at line 100 of file TorqueFilter/IIRFilter.h.