![]() |
SimpleFOClibrary 2.4.0
|
#include <lowpass_filter.h>
Public Member Functions | |
| LowPassFilter (float Tf, float Ts=NOT_SET) | |
| ~LowPassFilter ()=default | |
| float | operator() (float x) |
Public Attributes | |
| float | Tf |
| Low pass filter time constant. | |
| float | Ts |
| Fixed sampling time (optional default NOT_SET) | |
Protected Attributes | |
| unsigned long | timestamp_prev |
| Last execution timestamp. | |
| float | y_prev |
| filtered value in previous execution step | |
Low pass filter class
Definition at line 11 of file lowpass_filter.h.
| Tf | - Low pass filter time constant |
| Ts | - Filter sampling time |
Definition at line 3 of file lowpass_filter.cpp.
|
default |
| float LowPassFilter::operator() | ( | float | x | ) |
| float LowPassFilter::Tf |
Low pass filter time constant.
Definition at line 27 of file lowpass_filter.h.
Last execution timestamp.
Definition at line 31 of file lowpass_filter.h.
| float LowPassFilter::Ts |
Fixed sampling time (optional default NOT_SET)
Definition at line 28 of file lowpass_filter.h.
|
protected |
filtered value in previous execution step
Definition at line 32 of file lowpass_filter.h.