simple-pid icon indicating copy to clipboard operation
simple-pid copied to clipboard

PID output is the same at every call?

Open aaprasad opened this issue 4 months ago • 2 comments

Hi, I'm not sure if this is expected behavior but when I try running the PID controller with different inputs at each call it outputs the same value every time regardless of what gains I choose

for instance if I run

pid = PID(1, 0.5, 0.01, setpoint=1)
for _ in range(10):
    print(pid(np.random.normal()))

It will print the same value each time but my understanding is this should change no?

aaprasad avatar Oct 03 '24 15:10 aaprasad