Firmware
Public Member Functions | List of all members
math::LowPassFilter2p Class Reference

Public Member Functions

 LowPassFilter2p (float sample_freq, float cutoff_freq)
 
void set_cutoff_frequency (float sample_freq, float cutoff_freq)
 
float apply (float sample)
 Add a new raw value to the filter. More...
 
float get_cutoff_freq () const
 
float reset (float sample)
 

Member Function Documentation

§ apply()

float math::LowPassFilter2p::apply ( float  sample)

Add a new raw value to the filter.

Returns
retrieve the filtered result

The documentation for this class was generated from the following files: