Gazebo Math

API Reference

7.5.1
OnePoleVector3 Class Reference

One-pole vector3 filter. More...

#include <gz/math/Filter.hh>

Public Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from OnePole< math::Vector3d >
double a0
 Input gain control. More...
 
double b1
 Gain of the feedback. More...
 
- Protected Attributes inherited from Filter< T >
y0 {}
 Output. More...
 

Detailed Description

One-pole vector3 filter.

Constructor & Destructor Documentation

◆ OnePoleVector3() [1/2]

OnePoleVector3 ( )
inline

Constructor.

References Filter< T >::Set().

◆ OnePoleVector3() [2/2]

OnePoleVector3 ( double  _fc,
double  _fs 
)
inline

Constructor.

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

References Filter< T >::Set().


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