Filter< T > Class Template Referenceabstract

Filter base class. More...

#include <math/gzmath.hh>

Inherited by BiQuad< T >, and OnePole< T >.

Public Member Functions

virtual ~Filter () GAZEBO_DEPRECATED(8.0)
 Destructor. More...
 
virtual const T & GetValue () GAZEBO_DEPRECATED(8.0)
 Get the output of the filter. More...
 
virtual void SetFc (double _fc, double _fs) GAZEBO_DEPRECATED(8.0)=0
 Set the cutoff frequency and sample rate. More...
 
virtual void SetValue (const T &_val) GAZEBO_DEPRECATED(8.0)
 Set the output of the filter. More...
 

Protected Attributes

y0
 Output. More...
 

Detailed Description

template<class T>
class gazebo::math::Filter< T >

Filter base class.

Deprecated:
See ignition::math::Filter

Constructor & Destructor Documentation

virtual ~Filter ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual const T& GetValue ( )
inlinevirtual

Get the output of the filter.

Returns
Filter's output.
virtual void SetFc ( double  _fc,
double  _fs 
)
pure virtual

Set the cutoff frequency and sample rate.

Parameters
[in]_fcCutoff frequency.
[in]_fsSample rate.

Implemented in BiQuad< T >, BiQuad< math::Vector3 >, OnePole< T >, OnePole< math::Quaternion >, and OnePole< math::Vector3 >.

virtual void SetValue ( const T &  _val)
inlinevirtual

Set the output of the filter.

Parameters
[in]_valNew value.

Reimplemented in BiQuad< T >, and BiQuad< math::Vector3 >.

Member Data Documentation


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