Skip to content

PID output is the same at every call? #90

Open
@aaprasad

Description

@aaprasad

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions