com.aelitis.azureus.core.util.loopcontrol.impl
Class PIDLoopControler

java.lang.Object
  extended by com.aelitis.azureus.core.util.loopcontrol.impl.PIDLoopControler
All Implemented Interfaces:
LoopControler

public class PIDLoopControler
extends java.lang.Object
implements LoopControler


Constructor Summary
PIDLoopControler(double pGain, double iGain, double dGain)
           
 
Method Summary
 void reset()
           
 double updateControler(double error, double position)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PIDLoopControler

public PIDLoopControler(double pGain,
                        double iGain,
                        double dGain)
Method Detail

updateControler

public double updateControler(double error,
                              double position)
Specified by:
updateControler in interface LoopControler

reset

public void reset()
Specified by:
reset in interface LoopControler