com.yobotics.simulationconstructionset.util.math.filter
Class HysteresisFilteredYoVariable
java.lang.Object
com.yobotics.simulationconstructionset.YoVariable
com.yobotics.simulationconstructionset.DoubleYoVariable
com.yobotics.simulationconstructionset.util.math.filter.HysteresisFilteredYoVariable
- All Implemented Interfaces:
- java.io.Serializable
public class HysteresisFilteredYoVariable
- extends DoubleYoVariable
Title:
Description: applies hysteresis to the input
Copyright: Copyright (c) 2006
Company:
- Version:
- 1.0
- Author:
- tkoolen
- See Also:
- Serialized Form
Method Summary |
static void |
main(java.lang.String[] args)
|
void |
reset()
reset
resets the limits to the current value (but keeps the current hysteresisAmount) |
void |
update(double unfilteredValue)
update
updates val, based on the unfiltedValue |
Methods inherited from class com.yobotics.simulationconstructionset.DoubleYoVariable |
add, add, getDoubleValue, getValueAsDouble, getValueString, getValueStringFromDouble, getYoVariableType, isNaN, mul, mul, set, setValueFromDouble, sub, sub, toString, valueEquals |
Methods inherited from class com.yobotics.simulationconstructionset.YoVariable |
addVariableChangedListener, fullNameEndsWithCaseInsensitive, getDescription, getFullNameWithNameSpace, getManualScalingMax, getManualScalingMin, getName, getName, getNameAndValueString, getNameAndValueStringFromDouble, getNameSpace, getNumericValueAsAString, getShortName, getVariableChangedListeners, getYoVariableRegistry, hasSameFullName, notifyVariableChangedListeners, removeAllVariableChangedListeners, removeVariableChangedListener, setManualScalingMinMax |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HysteresisFilteredYoVariable
public HysteresisFilteredYoVariable(java.lang.String name,
YoVariableRegistry registry,
DoubleYoVariable hysteresisAmount)
reset
public void reset()
- reset
resets the limits to the current value (but keeps the current hysteresisAmount)
update
public void update(double unfilteredValue)
- update
updates val, based on the unfiltedValue
- Parameters:
unfilteredValue
- double the unfiltered value
main
public static void main(java.lang.String[] args)