#include <math/gzmath.hh>
Public Member Functions | |
virtual | ~Filter () |
Destructor. More... | |
virtual const T & | GetValue () |
Get the output of the filter. More... | |
virtual void | SetFc (double _fc, double _fs)=0 |
Set the cutoff frequency and sample rate. More... | |
virtual void | SetValue (const T &_val) |
Set the output of the filter. More... | |
Protected Attributes | |
T | y0 |
Output. More... | |
Filter base class.
|
inlinevirtual |
Destructor.
|
inlinevirtual |
Get the output of the filter.
|
pure virtual |
Set the cutoff frequency and sample rate.
[in] | _fc | Cutoff frequency. |
[in] | _fs | Sample rate. |
Implemented in gazebo::math::BiQuad< T >, gazebo::math::BiQuad< math::Vector3 >, gazebo::math::OnePole< T >, gazebo::math::OnePole< math::Quaternion >, and gazebo::math::OnePole< math::Vector3 >.
|
inlinevirtual |
Set the output of the filter.
[in] | _val | New value. |
Reimplemented in gazebo::math::BiQuad< T >, and gazebo::math::BiQuad< math::Vector3 >.
|
protected |
Output.