Closed antoinealb closed 10 years ago
Looks good. We need to add a limit for the integrator and a function to reset the integrator.
Why did you choose to use malloc? (btw you didn't check it's return value)
What do you think about adding a control frequency/period parameter. Then we could have PID parameters which are independent of control frequency.
I used malloc because I think having private structure members promotes encapsulation, which is good.
I will open several issues to discuss each of the above points.
Please review :)