get set point
Fork of PID by
Revision 2:ee6bcde54713, committed 2016-04-24
- Comitter:
- vsutardja
- Date:
- Sun Apr 24 23:58:16 2016 +0000
- Parent:
- 1:f61c47297c2c
- Commit message:
- getsetpoint;
Changed in this revision
PID.cpp | Show annotated file Show diff for this revision Revisions of this file |
PID.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/PID.cpp Wed Apr 20 21:27:43 2016 +0000 +++ b/PID.cpp Sun Apr 24 23:58:16 2016 +0000 @@ -323,3 +323,9 @@ return dParam_; } + +float PID::getSetPoint() { + + return setPoint_; + +}
--- a/PID.h Wed Apr 20 21:27:43 2016 +0000 +++ b/PID.h Sun Apr 24 23:58:16 2016 +0000 @@ -163,6 +163,7 @@ float getPParam(); float getIParam(); float getDParam(); + float getSetPoint(); private: