One-pole quaternion filter. More...
#include <math/gzmath.hh>
Public Member Functions | |
OnePoleQuaternion () | |
Constructor. More... | |
OnePoleQuaternion (double _fc, double _fs) | |
Constructor. More... | |
const math::Quaternion & | Process (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::Quaternion & | Process (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::Quaternion & | GetValue () |
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... | |
One-pole quaternion filter.
|
inline |
Constructor.
|
inline |
Constructor.
[in] | _fc | Cutoff frequency. |
[in] | _fs | Sample rate. |
|
inline |
Update the filter's output.
[in] _x Input value.
References gazebo::math::Quaternion::Slerp().