Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of PID_modified by
Revision 6:0d1e877c7f60, committed 2016-12-15
- Comitter:
- benson516
- Date:
- Thu Dec 15 20:17:49 2016 +0000
- Parent:
- 5:016c99bb877f
- Child:
- 7:6f0e5de35b48
- Commit message:
- Turn the default values for eanabling output saturation and anti-windup to false.
Changed in this revision
| PID.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/PID.cpp Thu Dec 15 20:13:52 2016 +0000
+++ b/PID.cpp Thu Dec 15 20:17:49 2016 +0000
@@ -3,9 +3,9 @@
PID::PID(float Kp_in, float Ki_in, float Kd_in, float Sampletime_in){
// Parameters
- Outputlimit_bool = true;
+ Outputlimit_bool = false; // true
Inputlimit_bool = false;
- AntiWindUp_bool = true;
+ AntiWindUp_bool = false; // true
outputLimits_H = 7.4;
outputLimits_L = -7.4;
inputLimits_H = 0.0;
