Skip to content

"Bug" in projectΒ #3

@cuby-tec

Description

@cuby-tec

I found Your program and try to use it in my project. But there was found a 'bug', as a result system work incorrectly.
I suggest You to make the following changes:

PID.h
63 float lasterror; //!< Last error value for differential term

PID.c
64 float dinput = error - pid->lasterror;
73 pid->lasterror = error

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