Implemented first Hangar-Service
Dependencies: CalibrateMagneto QuaternionMath
Fork of SML2 by
LowPassFilter Class Reference
Low-pass filters an incoming stream of numbers. More...
#include <Filter.h>
Public Member Functions | |
LowPassFilter (float const a) | |
Construct the filter with given coefficient. | |
float | filter (float const x) |
Main processing function, passes given value to filter and returns the filter's output. | |
void | reset () |
Resets the internal state of the filter. Use to start filtering a new stream. |
Detailed Description
Low-pass filters an incoming stream of numbers.
Implements a 1st-order IIR low-pass filter. The coefficient can be used to specify how much to filter.
Definition at line 9 of file Filter.h.
Constructor & Destructor Documentation
LowPassFilter | ( | float const | a ) |
Member Function Documentation
float filter | ( | float const | x ) |
Generated on Wed Jul 13 2022 08:50:41 by
![doxygen](doxygen.png)