Gazebo Math

API Reference

8.0.0~pre1
BiQuadVector3 Class Reference

BiQuad vector3 filter. More...

#include <gz/math/Filter.hh>

Public Member Functions

 BiQuadVector3 ()
 Constructor.
 
 BiQuadVector3 (double _fc, double _fs)
 Constructor.
 
- Public Member Functions inherited from BiQuad< math::Vector3d >
 BiQuad ()=default
 Constructor.
 
 BiQuad (double _fc, double _fs)
 Constructor.
 
void Fc (double _fc, double _fs) override
 Set the cutoff frequency and sample rate.
 
void Fc (double _fc, double _fs, double _q)
 Set the cutoff frequency, sample rate and Q coefficient.
 
virtual const math::Vector3dProcess (const math::Vector3d &_x)
 Update the filter's output.
 
virtual void Set (const math::Vector3d &_val) override
 Set the current filter's output.
 
- Public Member Functions inherited from Filter< T >
virtual ~Filter ()
 Destructor.
 
virtual void Set (const T &_val)
 Set the output of the filter.
 
virtual const T & Value () const
 Get the output of the filter.
 

Additional Inherited Members

- Protected Attributes inherited from BiQuad< math::Vector3d >
double a0
 Input gain control coefficients.
 
double a1
 
double a2
 
double b0
 
double b1
 
double b2
 
math::Vector3d x1
 Gain of the feedback coefficients.
 
math::Vector3d x2
 
math::Vector3d y1
 
math::Vector3d y2
 
- Protected Attributes inherited from Filter< T >
y0 {}
 Output.
 

Detailed Description

BiQuad vector3 filter.

Constructor & Destructor Documentation

◆ BiQuadVector3() [1/2]

BiQuadVector3 ( )
inline

Constructor.

References BiQuad< math::Vector3d >::Set().

◆ BiQuadVector3() [2/2]

BiQuadVector3 ( double  _fc,
double  _fs 
)
inline

Constructor.

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

References BiQuad< math::Vector3d >::Set().


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