com.yobotics.simulationconstructionset.util.math.filter
Class RateLimitedYoVariable

java.lang.Object
  extended by com.yobotics.simulationconstructionset.YoVariable
      extended by com.yobotics.simulationconstructionset.DoubleYoVariable
          extended by com.yobotics.simulationconstructionset.util.math.filter.RateLimitedYoVariable
All Implemented Interfaces:
java.io.Serializable

public class RateLimitedYoVariable
extends DoubleYoVariable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.yobotics.simulationconstructionset.YoVariable
MAX_LENGTH_SHORT_NAME
 
Constructor Summary
RateLimitedYoVariable(java.lang.String name, YoVariableRegistry registry, double maxRate, double dt)
           
RateLimitedYoVariable(java.lang.String name, YoVariableRegistry registry, double maxRate, DoubleYoVariable positionVariable, double dt)
           
RateLimitedYoVariable(java.lang.String name, YoVariableRegistry registry, DoubleYoVariable maxRateVariable, double dt)
           
RateLimitedYoVariable(java.lang.String name, YoVariableRegistry registry, DoubleYoVariable maxRateVariable, DoubleYoVariable positionVariable, double dt)
           
 
Method Summary
 void reset()
           
 void update()
           
 void update(double currentPosition)
           
 
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
 

Constructor Detail

RateLimitedYoVariable

public RateLimitedYoVariable(java.lang.String name,
                             YoVariableRegistry registry,
                             double maxRate,
                             double dt)

RateLimitedYoVariable

public RateLimitedYoVariable(java.lang.String name,
                             YoVariableRegistry registry,
                             DoubleYoVariable maxRateVariable,
                             double dt)

RateLimitedYoVariable

public RateLimitedYoVariable(java.lang.String name,
                             YoVariableRegistry registry,
                             double maxRate,
                             DoubleYoVariable positionVariable,
                             double dt)

RateLimitedYoVariable

public RateLimitedYoVariable(java.lang.String name,
                             YoVariableRegistry registry,
                             DoubleYoVariable maxRateVariable,
                             DoubleYoVariable positionVariable,
                             double dt)
Method Detail

reset

public void reset()

update

public void update()

update

public void update(double currentPosition)