PID control library forked from Aaron Berk. Make sure to read articles from www.controlguru.com to properly understand how to instantiate the PID loop.
Fork of PID by
Diff: PID.h
- Revision:
- 2:b55a16b5f05c
- Parent:
- 1:ae1c6d19f4c6
--- a/PID.h Sat May 03 02:55:01 2014 +0000 +++ b/PID.h Mon May 12 13:15:56 2014 +0000 @@ -103,6 +103,15 @@ * @param tauD - Tuning parameter */ void setTunings(float Kc, float tauI, float tauD); + + /** + * Set Proportional Gain + * + * Change Proportional Gain only + * + * @param Kc - Proportional gain + */ + void setKP(float KP); /** * Reinitializes controller internals. Automatically