3 years, 7 months ago.

where is the library ?

i can not import it.

Question relating to:

Comment on this question

1 Answer

3 years, 7 months ago.

Hi Luis,

It looks like that article describes the general concept and math of PID but it doesn't link to an exact library.

If you search for PID on the mbed site there are bunch of libraries that people have written.

This was one of the first libraries that popped up: https://developer.mbed.org/users/aberk/code/PID/

I haven't tried this library, but it looks like it has some examples to get you started (see the section maked Dependents near the top of the page).

Hope that helps!

Brian

Thanks brian, i used that library with the example given in the cookbook. My problem was when he uses controller.getRealOutput(); it didnt appear in the library, i must use controller.compute(); And everything works.

posted by Luis miguel Garcia martin 19 Mar 2016