One-pole quaternion filter. More...
#include <ignition/math/Filter.hh>
Public Member Functions | |
| OnePoleQuaternion () | |
| Constructor. More... | |
| OnePoleQuaternion (double _fc, double _fs) | |
| Constructor. More... | |
| const math::Quaterniond & | Process (const math::Quaterniond &_x) |
| Update the filter's output. More... | |
Public Member Functions inherited from ignition::math::OnePole< math::Quaterniond > | |
| OnePole ()=default | |
| Constructor. More... | |
| OnePole (double _fc, double _fs) | |
| Constructor. More... | |
| virtual void | Fc (double _fc, double _fs) |
| Set the cutoff frequency and sample rate. More... | |
| const math::Quaterniond & | Process (const math::Quaterniond &_x) |
| Update the filter's output. More... | |
Public Member Functions inherited from ignition::math::Filter< math::Quaterniond > | |
| virtual | ~Filter () |
| Destructor. More... | |
| virtual void | Set (const math::Quaterniond &_val) |
| Set the output of the filter. More... | |
| virtual const math::Quaterniond & | Value () const |
| Get the output of the filter. More... | |
Additional Inherited Members | |
Protected Attributes inherited from ignition::math::OnePole< math::Quaterniond > | |
| double | a0 |
| Input gain control. More... | |
| double | b1 |
| Gain of the feedback. More... | |
Protected Attributes inherited from ignition::math::Filter< math::Quaterniond > | |
| math::Quaterniond | y0 |
| Output. More... | |
One-pole quaternion filter.
|
inline |
Constructor.
References ignition::math::Filter< math::Quaterniond >::Set().
|
inline |
Constructor.
| [in] | _fc | Cutoff frequency. |
| [in] | _fs | Sample rate. |
References ignition::math::Filter< math::Quaterniond >::Set().
|
inline |
Update the filter's output.
[in] _x Input value.
References ignition::math::OnePole< math::Quaterniond >::a0, ignition::math::Quaternion< T >::Slerp(), and ignition::math::Filter< math::Quaterniond >::y0.