![]() |
Documentation
Tools for embedded systems
|
A scalar Kalman filter. More...
#include <smoother.hpp>
Public Member Functions | |
| virtual | ~smootherKLMN () |
| bool | setup (const real_t processNoiseCov, const real_t measureNoiseCov, const real_t estErrorCov) |
| Setup an initialize the scalar Kalman filter. | |
| real_t | smooth (const real_t x) override |
| Perform the smooth operation recursively for the input signal x. | |
Public Member Functions inherited from qlibs::smoother | |
| virtual | ~smoother () |
| bool | isInitialized (void) const |
| Check if the smoother filter has been initialized using setup(). | |
| operator bool () const noexcept | |
| Check if the smoother filter has been initialized using setup(). | |
| bool | reset (void) |
| Reset the smoother filter. | |
A scalar Kalman filter.
|
inlinevirtual |
| bool smootherKLMN::setup | ( | const real_t | processNoiseCov, |
| const real_t | measureNoiseCov, | ||
| const real_t | estErrorCov ) |
Setup an initialize the scalar Kalman filter.
| [in] | processNoiseCov | Process(predict) noise covariance |
| [in] | measureNoiseCov | Measure noise covariance |
| [in] | estErrorCov | Initial estimated error covariance |
true on success, otherwise return false. Perform the smooth operation recursively for the input signal x.
| [in] | x | A sample of the input signal. |
Implements qlibs::smoother.