By setting SetSampleTime to 0. Compute will calculate the output every time it's called
This commit is contained in:
@ -78,6 +78,7 @@ class PID
|
||||
|
||||
unsigned long lastTime;
|
||||
double ITerm, lastInput;
|
||||
unsigned long timeChange;
|
||||
|
||||
unsigned long SampleTime;
|
||||
double secondsDivider;
|
||||
|
Reference in New Issue
Block a user