public final class StepFilter extends DeadbandFilter
ValueFilter.AbstractNO_POINT_VALUES| Constructor and Description |
|---|
StepFilter(Optional<ElapsedTime> timeLimit,
Optional<ElapsedTime> trimUnit,
double deadbangGap,
double deadbandRatio,
double stepSize,
double ceilingGap,
double floorGap)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected PointValue |
snap(PointValue pointValue)
Snaps the point value.
|
doFilter, shouldFilterfilter, getHeldPointValue, getPreviousPointValue, getTimeLimit, isDisabled, pointValues, reset, setDisabled, setHeldPointValue, setPreviousPointValue, toStringpublic StepFilter(@Nonnull
Optional<ElapsedTime> timeLimit,
@Nonnull
Optional<ElapsedTime> trimUnit,
double deadbangGap,
double deadbandRatio,
double stepSize,
double ceilingGap,
double floorGap)
timeLimit - The optional time limit.trimUnit - The optional trim unit.deadbangGap - The deadband gap.deadbandRatio - The deadband ratio.stepSize - The step size.ceilingGap - The ceiling gap.floorGap - The floor gap.protected PointValue snap(PointValue pointValue)
snap in class ValueFilter.AbstractpointValue - The point value.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.