This class can be used to apply a first order filter on a signal. It allows different acceleration and deceleration time constants.
More...
template<typename T>
class FirstOrderFilter< T >
This class can be used to apply a first order filter on a signal. It allows different acceleration and deceleration time constants.
Short reveiw of discrete time implementation of first order system: Laplace: X(s)/U(s) = 1/(tau*s + 1) continous time system: dx(t) = (-1/tau)*x(t) + (1/tau)*u(t) discretized system (ZoH): x(k+1) = exp(samplingTime*(-1/tau))*x(k) + (1 - exp(samplingTime*(-1/tau))) * u(k)
Definition at line 148 of file common.h.