public class LinearFilter extends InterpolatorFilter
ValueFilter.AbstractNO_POINT_VALUES| Constructor and Description |
|---|
LinearFilter(Optional<ElapsedTime> timeLimit,
Optional<ElapsedTime> stampTrimUnit,
double deadbangGap,
double deadbandRatio)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected Optional<PointValue> |
doFilter(PointValue pointValue)
Says if a value should be filtered.
|
void |
reset()
Resets.
|
polateshouldFilterfilter, getHeldPointValue, getPreviousPointValue, getTimeLimit, isDisabled, pointValues, setDisabled, setHeldPointValue, setPreviousPointValue, snap, toStringpublic LinearFilter(@Nonnull
Optional<ElapsedTime> timeLimit,
@Nonnull
Optional<ElapsedTime> stampTrimUnit,
double deadbangGap,
double deadbandRatio)
timeLimit - The optional time limit.stampTrimUnit - The optional stamp trim unit.deadbangGap - The deadband gap.deadbandRatio - The deadband ratio.public void reset()
reset in interface ValueFilterreset in class ValueFilter.Abstractprotected Optional<PointValue> doFilter(PointValue pointValue)
doFilter in class InterpolatorFilterpointValue - The point value.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.