8 years, 8 months ago.

where is the library ?

i can not import it.

Question relating to:

1 Answer

8 years, 8 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

Accepted Answer

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