BiQuad vector3 filter. More...
#include <math/gzmath.hh>
Inherits BiQuad< math::Vector3 >.
Public Member Functions | |
BiQuadVector3 () GAZEBO_DEPRECATED(8.0) | |
Constructor. More... | |
BiQuadVector3 (double _fc, double _fs) GAZEBO_DEPRECATED(8.0) | |
Constructor. More... | |
virtual const math::Vector3 & | GetValue () GAZEBO_DEPRECATED(8.0) |
Get the output of the filter. More... | |
virtual const math::Vector3 & | process (const math::Vector3 &_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 math::Vector3 &_val) |
Set the current filter's output. More... | |
Protected Attributes | |
double | a0 |
Input gain control coefficients. More... | |
double | a1 |
double | a2 |
double | b0 |
double | b1 |
double | b2 |
math::Vector3 | x1 |
Gain of the feedback coefficients. More... | |
math::Vector3 | x2 |
math::Vector3 | y0 |
Output. More... | |
math::Vector3 | y1 |
math::Vector3 | y2 |
BiQuad vector3 filter.
|
inline |
Constructor.
References BiQuad< math::Vector3 >::SetValue().
|
inline |
Constructor.
[in] | _fc | Cutoff frequency. |
[in] | _fs | Sample rate. |
References BiQuad< math::Vector3 >::SetValue().
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Update the filter's output.
[in] | _x | Input value. |
References BiQuad< T >::a0, BiQuad< T >::a1, BiQuad< T >::a2, BiQuad< T >::b1, BiQuad< T >::b2, BiQuad< T >::x1, BiQuad< T >::x2, Filter< T >::y0, BiQuad< T >::y1, and BiQuad< T >::y2.
|
inlinevirtualinherited |
Set the cutoff frequency and sample rate.
[in] | _fc | Cutoff frequency. |
[in] | _fs | Sample rate. |
Implements Filter< math::Vector3 >.
References BiQuad< T >::SetFc().
|
inlineinherited |
Set the cutoff frequency, sample rate and Q coefficient.
[in] | _fc | Cutoff frequency. |
[in] | _fs | Sample rate. |
[in] | _q | Q coefficient. |
References BiQuad< T >::a0, BiQuad< T >::a1, BiQuad< T >::a2, BiQuad< T >::b0, BiQuad< T >::b1, and BiQuad< T >::b2.
|
inlinevirtualinherited |
Set the current filter's output.
[in] | _val | New filter's output. |
Reimplemented from Filter< math::Vector3 >.
References BiQuad< T >::x1, BiQuad< T >::x2, Filter< T >::y0, BiQuad< T >::y1, and BiQuad< T >::y2.
Referenced by BiQuadVector3::BiQuadVector3().
|
protectedinherited |
Input gain control coefficients.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Gain of the feedback coefficients.
|
protectedinherited |
|
protectedinherited |
Output.
|
protectedinherited |
|
protectedinherited |