PX4 Firmware
PX4 Autopilot Software http://px4.io
|
First order "alpha" IIR digital filter. More...
#include <AlphaFilter.hpp>
Public Member Functions | |
AlphaFilter ()=default | |
~AlphaFilter ()=default | |
void | reset (const T &val) |
void | update (const T &input, float tau, float dt) |
void | update (const T &input, float alpha) |
void | update (const T &input) |
const T & | getState () const |
Private Attributes | |
T | _x {} |
current state of the filter More... | |
First order "alpha" IIR digital filter.
Definition at line 42 of file AlphaFilter.hpp.
|
default |
|
default |
|
inline |
Definition at line 67 of file AlphaFilter.hpp.
Referenced by Ekf::controlFusionModes(), Ekf::controlGpsFusion(), Ekf::controlOpticalFlowFusion(), Ekf::initialiseFilter(), Ekf::realignYawGPS(), Ekf::runInAirYawReset(), Ekf::runOnGroundYawReset(), and TEST_F().
|
inline |
Definition at line 48 of file AlphaFilter.hpp.
Referenced by Ekf::initialiseFilter(), and TEST_F().
|
inline |
Definition at line 50 of file AlphaFilter.hpp.
Referenced by Ekf::initialiseFilter(), TEST_F(), AlphaFilter< Vector3f >::update(), and Ekf::updateMagFilter().
|
inline |
Definition at line 56 of file AlphaFilter.hpp.
|
inline |
Definition at line 62 of file AlphaFilter.hpp.
|
private |
current state of the filter
Definition at line 70 of file AlphaFilter.hpp.
Referenced by AlphaFilter< Vector3f >::getState(), AlphaFilter< Vector3f >::reset(), and AlphaFilter< Vector3f >::update().