LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
Loading...
Searching...
No Matches
filter.hpp
Go to the documentation of this file.
1
/*
2
* This Source Code Form is subject to the terms of the Mozilla Public
3
* License, v. 2.0. If a copy of the MPL was not distributed with this
4
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
*/
6
#pragma once
7
8
namespace
okapi
{
9
class
Filter
{
10
public
:
11
virtual
~Filter
();
12
19
virtual
double
filter
(
double
ireading) = 0;
20
26
virtual
double
getOutput
()
const
= 0;
27
};
28
}
// namespace okapi
okapi::Filter
Definition
filter.hpp:9
okapi::Filter::getOutput
virtual double getOutput() const =0
Returns the previous output from filter.
okapi::Filter::filter
virtual double filter(double ireading)=0
Filters a value, like a sensor reading.
okapi::Filter::~Filter
virtual ~Filter()
okapi
Definition
chassisController.hpp:16
include
okapi
api
filter
filter.hpp
Generated by
1.9.8