mirror of https://github.com/ArduPilot/ardupilot
uncrustify libraries/Filter/Filter.h
This commit is contained in:
parent
c09a7ea4b4
commit
67778c7c37
|
@ -21,13 +21,17 @@ class Filter
|
|||
{
|
||||
public:
|
||||
// constructor
|
||||
Filter() {};
|
||||
Filter() {
|
||||
};
|
||||
|
||||
// apply - Add a new raw value to the filter, retrieve the filtered result
|
||||
virtual T apply(T sample) { return sample; };
|
||||
virtual T apply(T sample) {
|
||||
return sample;
|
||||
};
|
||||
|
||||
// reset - clear the filter
|
||||
virtual void reset() {};
|
||||
virtual void reset() {
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue