|
LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
|
#include <passthroughFilter.hpp>
Public Member Functions | |
| PassthroughFilter () | |
| A simple filter that does no filtering and just passes the input through. | |
| double | filter (double ireading) override |
| Filters a value, like a sensor reading. | |
| double | getOutput () const override |
| Returns the previous output from filter. | |
Public Member Functions inherited from okapi::Filter | |
| virtual | ~Filter () |
Protected Attributes | |
| double | lastOutput = 0 |
Definition at line 11 of file passthroughFilter.hpp.
| okapi::PassthroughFilter::PassthroughFilter | ( | ) |
A simple filter that does no filtering and just passes the input through.
|
overridevirtual |
Filters a value, like a sensor reading.
| ireading | new measurement |
Implements okapi::Filter.
|
overridevirtual |
Returns the previous output from filter.
Implements okapi::Filter.
|
protected |
Definition at line 34 of file passthroughFilter.hpp.