A one-pole DSP filter.
More...
#include <math/gzmath.hh>
template<class T>
class gazebo::math::OnePole< T >
A one-pole DSP filter.
- See Also
- http://www.earlevel.com/main/2012/12/15/a-one-pole-filter/
Constructor.
- Parameters
-
[in] | _fc | Cutoff frequency. |
[in] | _fs | Sample rate. |
Update the filter's output.
[in] _x Input value.
- Returns
- The filter's current output.
Set the cutoff frequency and sample rate.
- Parameters
-
[in] | _fc | Cutoff frequency. |
[in] | _fs | Sample rate. |
Implements gazebo::math::Filter< T >.
The documentation for this class was generated from the following file: