|
LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
|
#include <filter.hpp>
Public Member Functions | |
| virtual | ~Filter () |
| virtual double | filter (double ireading)=0 |
| Filters a value, like a sensor reading. | |
| virtual double | getOutput () const =0 |
| Returns the previous output from filter. | |
Definition at line 9 of file filter.hpp.
|
virtual |
|
pure virtual |
Filters a value, like a sensor reading.
| ireading | new measurement |
Implemented in okapi::AverageFilter< n >, okapi::MedianFilter< n >, okapi::ComposableFilter, okapi::DemaFilter, okapi::EKFFilter, okapi::EmaFilter, and okapi::PassthroughFilter.
|
pure virtual |
Returns the previous output from filter.
Implemented in okapi::AverageFilter< n >, okapi::ComposableFilter, okapi::DemaFilter, okapi::EKFFilter, okapi::EmaFilter, okapi::MedianFilter< n >, and okapi::PassthroughFilter.