50 void update(
const T &input,
float tau,
float dt)
52 const float alpha = dt / tau;
56 void update(
const T &input,
float alpha)
58 _x = (1.f - alpha) *
_x + alpha * input;
void update(const T &input, float alpha)
T _x
current state of the filter
First order "alpha" IIR digital filter.
const T & getState() const
Vector< float, 6 > f(float t, const Matrix< float, 6, 1 > &, const Matrix< float, 3, 1 > &)
void update(const T &input, float tau, float dt)
void update(const T &input)