|
Re: Speed PID Function
May I suggest using a different unit than RPM? The input is in the range of hundreds and thousands, but the output is from -1 to 1. If you were to use FPS instead, which would be 0 to 14 FPS or so at maximum, you will get more stable outputs since you do not have to use such tiny constants.
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
|