template<typename VectorT>
struct mc_filter::LeakyIntegrator< VectorT >
Leaky integrator.
The output satisfies the differential equation:
\[ \dot{y}(t) = x(t) - leakRate * y(t) \]
A leaky integrator is implemented exactly as an exponential moving average, but it is homogeneous to the integral of the input signal (rather than the signal itself). See https://en.wikipedia.org/wiki/Leaky_integrator.
Expects VectorT to act as a vector (typically Eigen::Vector3d), supporting:
- VectorT::Zero() static member function
- VectorT::setZero() member
- Component-wise math operator *
- Access operator ()
- VectorT::size()