Quote:
Originally Posted by davidthefat
I thought that was obvious.
|
Hopefully the several ensuing responses from various posters have given you pause.
Quote:
|
error = (desired input- current input)/desired input
|
So if you're using PID for steering angle, and the process variable is 2 degrees, and you want the setpoint to be 359 degrees, then you would calculate an error of 359-2= 357 degrees and feed that error to your PID?
Think about it.