Koduino
|
Digital autoregressive low pass filter. More...
#include <WMath.h>
Digital autoregressive low pass filter.
Use by calling DLPF
Public Member Functions | |
virtual void | init (float smooth, float freq, DLPFType type) |
Initialize filter. More... | |
virtual float | update (float val) |
Call this at the rate given in freq in init() More... | |
Inherited by PD.
|
inlinevirtual |
Initialize filter.
smooth | Smoothing factor (0 = no smoothing, 1 = never updates) |
freq | Update frequency in Hz |
type | One of DLPF_ANGRATE , DLPF_RATE , DLPF_SMOOTH , DLPF_INTEGRATE |
|
virtual |
Call this at the rate given in freq in init()
val | New measurement |