Bi-quad filter base class.
More...
#include <math/gzmath.hh>
|
| | BiQuad () |
| | Constructor. More...
|
| |
| | BiQuad (double _fc, double _fs) |
| | Constructor. More...
|
| |
| virtual const T & | process (const T &_x) |
| | Update the filter's output. More...
|
| |
| void | SetFc (double _fc, double _fs) |
| | Set the cutoff frequency and sample rate. More...
|
| |
| void | SetFc (double _fc, double _fs, double _q) |
| | Set the cutoff frequency, sample rate and Q coefficient. More...
|
| |
| virtual void | SetValue (const T &_val) |
| | Set the current filter's output. More...
|
| |
| virtual | ~Filter () |
| | Destructor. More...
|
| |
| virtual const T & | GetValue () |
| | Get the output of the filter. More...
|
| |
template<class T>
class gazebo::math::BiQuad< T >
Bi-quad filter base class.
- See Also
- http://www.earlevel.com/main/2003/03/02/the-bilinear-z-transform/
Constructor.
- Parameters
-
| [in] | _fc | Cutoff frequency. |
| [in] | _fs | Sample rate. |
Update the filter's output.
- Parameters
-
- 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 >.
Set the cutoff frequency, sample rate and Q coefficient.
- Parameters
-
| [in] | _fc | Cutoff frequency. |
| [in] | _fs | Sample rate. |
| [in] | _q | Q coefficient. |
Input gain control coefficients.
Gain of the feedback coefficients.
The documentation for this class was generated from the following file: