|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.yobotics.simulationconstructionset.YoVariable
com.yobotics.simulationconstructionset.util.math.filter.HysteresisFilteredYoVariable
public class HysteresisFilteredYoVariable
Title:
Description: applies hysteresis to the input
Copyright: Copyright (c) 2006
Company:
| Field Summary |
|---|
| Fields inherited from class com.yobotics.simulationconstructionset.YoVariable |
|---|
MAX_LENGTH_SHORT_NAME, val |
| Constructor Summary | |
|---|---|
HysteresisFilteredYoVariable(java.lang.String name,
YoVariableRegistry registry,
YoVariable hysteresisAmount)
|
|
| Method Summary | |
|---|---|
void |
reset()
reset resets the limits to the current value (but keeps the current hysteresisAmount) |
void |
set(double d)
set method is not supported because it would corrupt the object, so override |
void |
update(double unfilteredValue)
update updates val, based on the unfiltedValue |
| Methods inherited from class com.yobotics.simulationconstructionset.YoVariable |
|---|
addObserver, fullNameEndsWith, getBooleanValue, getDescription, getDoubleValue, getEnumValue, getFullNameWithNameSpace, getIntegerValue, getManualScalingMax, getManualScalingMin, getName, getName, getNameAndValue, getShortName, getValue, getYoVariableRegistry, getYoVariableType, hasSameFullName, notifyObservers, removeAllObservers, removeObserver, set, set, set, setManualScalingMinMax, toString, valueEquals, valueEquals, valueEquals, valueEquals |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HysteresisFilteredYoVariable(java.lang.String name,
YoVariableRegistry registry,
YoVariable hysteresisAmount)
| Method Detail |
|---|
public void reset()
public void update(double unfilteredValue)
unfilteredValue - double the unfiltered valuepublic void set(double d)
set in class YoVariabled - double
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||