|
Formula Student Autonomous Systems
The code for the main driverless system
|
Abstract base class that defines the interface for single variable filters Derived classes must implement the filter and reset methods. More...
#include <filter.hpp>


Public Member Functions | |
| virtual | ~Filter ()=default |
| Virtual destructor for safe polymorphic use. | |
| virtual double | filter (double input)=0 |
| Apply the filter to a new input value. | |
| virtual void | reset (double value=0.0)=0 |
| Reset the filter to a specific value. | |
Abstract base class that defines the interface for single variable filters Derived classes must implement the filter and reset methods.
Definition at line 8 of file filter.hpp.
|
virtualdefault |
Virtual destructor for safe polymorphic use.
|
pure virtual |
Apply the filter to a new input value.
| input | New input value |
Implemented in LowPassFilter.
|
pure virtual |
Reset the filter to a specific value.
| value | Value to reset the filter to (default is 0.0) |
Implemented in LowPassFilter.