Gazebo Math

API Reference

8.0.0~pre1
OnePoleVector3 Class Reference

One-pole vector3 filter. More...

#include <gz/math/Filter.hh>

Public Member Functions

 OnePoleVector3 ()
 Constructor.
 
 OnePoleVector3 (double _fc, double _fs)
 Constructor.
 
- Public Member Functions inherited from OnePole< math::Vector3d >
 OnePole ()=default
 Constructor.
 
 OnePole (double _fc, double _fs)
 Constructor.
 
virtual void Fc (double _fc, double _fs) override
 Set the cutoff frequency and sample rate.
 
const math::Vector3dProcess (const math::Vector3d &_x)
 Update the 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 OnePole< math::Vector3d >
double a0
 Input gain control.
 
double b1
 Gain of the feedback.
 
- Protected Attributes inherited from Filter< T >
y0 {}
 Output.
 

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: