One-pole quaternion filter. More...
#include <math/gzmath.hh>
Inherits OnePole< math::Quaternion >.
Public Member Functions | |
| OnePoleQuaternion () GAZEBO_DEPRECATED(8.0) | |
| Constructor. More... | |
| OnePoleQuaternion (double _fc, double _fs) GAZEBO_DEPRECATED(8.0) | |
| Constructor. More... | |
| virtual const math::Quaternion & | GetValue () GAZEBO_DEPRECATED(8.0) |
| Get the output of the filter. 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... | |
| virtual void | SetValue (const math::Quaternion &_val) GAZEBO_DEPRECATED(8.0) |
| Set the output of the filter. More... | |
Protected Attributes | |
| double | a0 |
| Input gain control. More... | |
| double | b1 |
| Gain of the feedback. More... | |
| math::Quaternion | y0 |
| Output. More... | |
One-pole quaternion filter.
|
inline |
Constructor.
References Filter< math::Quaternion >::SetValue().
|
inline |
Constructor.
| [in] | _fc | Cutoff frequency. |
| [in] | _fs | Sample rate. |
References Filter< math::Quaternion >::SetValue().
|
inlinevirtualinherited |
Get the output of the filter.
|
inline |
Update the filter's output.
[in] _x Input value.
References OnePole< math::Quaternion >::a0, Quaternion::Slerp(), and Filter< math::Quaternion >::y0.
|
inlinevirtualinherited |
Set the cutoff frequency and sample rate.
| [in] | _fc | Cutoff frequency. |
| [in] | _fs | Sample rate. |
Implements Filter< math::Quaternion >.
|
inlinevirtualinherited |
Set the output of the filter.
| [in] | _val | New value. |
Referenced by OnePoleQuaternion::OnePoleQuaternion().
|
protectedinherited |
Input gain control.
Referenced by OnePoleQuaternion::Process().
|
protectedinherited |
Gain of the feedback.
|
protectedinherited |
Output.
Referenced by OnePoleQuaternion::Process().