Public Member Functions | List of all members
gazebo::math::OnePoleQuaternion Class Reference

One-pole quaternion filter. More...

#include <math/gzmath.hh>

Inheritance diagram for gazebo::math::OnePoleQuaternion:
Inheritance graph
[legend]

Public Member Functions

 OnePoleQuaternion ()
 Constructor. More...
 
 OnePoleQuaternion (double _fc, double _fs)
 Constructor. More...
 
const math::QuaternionProcess (const math::Quaternion &_x)
 Update the filter's output. More...
 
- Public Member Functions inherited from gazebo::math::OnePole< math::Quaternion >
 OnePole ()
 Constructor. More...
 
 OnePole (double _fc, double _fs)
 Constructor. More...
 
const math::QuaternionProcess (const math::Quaternion &_x)
 Update the filter's output. More...
 
virtual void SetFc (double _fc, double _fs)
 Set the cutoff frequency and sample rate. More...
 
- Public Member Functions inherited from gazebo::math::Filter< math::Quaternion >
virtual ~Filter ()
 Destructor. More...
 
virtual const math::QuaternionGetValue ()
 Get the output of the filter. More...
 
virtual void SetValue (const math::Quaternion &_val)
 Set the output of the filter. More...
 

Additional Inherited Members

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

Detailed Description

One-pole quaternion filter.

Constructor & Destructor Documentation

gazebo::math::OnePoleQuaternion::OnePoleQuaternion ( )
inline

Constructor.

gazebo::math::OnePoleQuaternion::OnePoleQuaternion ( double  _fc,
double  _fs 
)
inline

Constructor.

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

Member Function Documentation

const math::Quaternion& gazebo::math::OnePoleQuaternion::Process ( const math::Quaternion _x)
inline

Update the filter's output.

[in] _x Input value.

Returns
The filter's current output.

References gazebo::math::Quaternion::Slerp().


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