Arduino-PID-AutoTune-Library icon indicating copy to clipboard operation
Arduino-PID-AutoTune-Library copied to clipboard

Install Troubles

Open EthanDJohnson opened this issue 6 years ago • 5 comments

Hello!

I'm having a hard time even getting this library to install. It's not showing up in the Library Manager so I came here to install the .zip and that's not working out either. It always just says that:

"Specified folder/zip file does not contain a valid library"

What can I even attempt do with that? I know that my IDE is installing .zip files fine otherwise--I just installed via .zip for the Adafruit Motor Shield V2 Library and it's working just fine.

EthanDJohnson avatar Nov 18 '18 18:11 EthanDJohnson

same here

TaylanT avatar Nov 20 '18 22:11 TaylanT

This repo isn't really set up for you to download the github zip and import it as a library into Arduino.

You just need to copy the PID_AutoTune_v0.h and PID_AutoTune_v0.cpp into your sketch directory and you are good to go.

bleckers avatar Nov 03 '19 00:11 bleckers

It's also registered with the arduino ide, so you can just import it from there

On Sat, Nov 2, 2019, 8:09 PM Blair Wyatt [email protected] wrote:

This repo isn't really set up for you to download the github zip and import it as a library into Arduino.

You just need to copy the PID_AutoTune_v0.h and PID_AutoTune_v0.cpp into your sketch directory and you are good to go.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/br3ttb/Arduino-PID-AutoTune-Library/issues/19?email_source=notifications&email_token=AACYX4UW6KX4R6RB6UU2GC3QRYJEPA5CNFSM4GFAKJY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC5HYVQ#issuecomment-549092438, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACYX4WC2ROP7CEDACJJT73QRYJEPANCNFSM4GFAKJYQ .

br3ttb avatar Nov 03 '19 17:11 br3ttb

@br3ttb In the library manager of Arduino IDE 2.0 beta the lib seems to be missing.

fkromer avatar May 05 '21 13:05 fkromer

If I past the PID_AutoTune_v0.cpp + PID_AutoTune_v0.h file into my autotune project sketch directory the include of #include <PID_v1.h> does not find the PID library. PID_v1.cpp and PID_v1.h is installed into libraries and can be included into other sketches without problems. If I paste the PID_v1.cpp and PID_v1.h file of the PID Library into the sketch folder of my autotune project as well the lib cannot be included... still.

EDIT: The IDE marks the include statement as an error. But compilation works if all .cpp + .h dependencies are pasted into the proejct sketch directory. Just ignore the error highlighting 👯

fkromer avatar May 05 '21 13:05 fkromer