MonoBrick EV3 Firmware
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
MonoBrickFirmware.Tools.PIDAbstraction Class Referenceabstract
Inheritance diagram for MonoBrickFirmware.Tools.PIDAbstraction:
MonoBrickFirmware.Movement.PositionPID

Public Member Functions

 PIDAbstraction (float P, float I, float D, float newSampleTime, float maxOut=100.0f, float minOut=-100.0f, float maxChangePerSec=0.0f, float minChangePerSec=0.0f)
 
WaitHandle Run ()
 
void Cancel ()
 
void Dispose ()
 

Protected Member Functions

abstract void ApplyOutput (float output)
 
abstract float CalculateError ()
 
abstract bool StopLoop ()
 

Protected Attributes

float currentError
 
float currentOutput
 
ManualResetEvent done = new ManualResetEvent(false)
 

The documentation for this class was generated from the following file: