File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,9 @@ class PID
52
52
// the PID calculation is performed. default is 100
53
53
54
54
55
+ void Initialize (); // * bumpless update of internal variables.
56
+ double outputSum; // * internal integrator state for understanding and user-space control
57
+
55
58
// Display functions ****************************************************************
56
59
double GetKp (); // These functions query the pid for interal values.
57
60
double GetKi (); // they were created mainly for the pid front-end,
@@ -62,7 +65,6 @@ class PID
62
65
double GetTd ();
63
66
64
67
private:
65
- void Initialize ();
66
68
67
69
double dispKp; // * we'll hold on to the tuning parameters in user-entered
68
70
double dispKi; // format for display purposes
@@ -80,7 +82,7 @@ class PID
80
82
// what these values are. with pointers we'll just know.
81
83
82
84
unsigned long lastTime;
83
- double outputSum, lastInput;
85
+ double lastInput;
84
86
85
87
unsigned long SampleTime;
86
88
double outMin, outMax;
You can’t perform that action at this time.
0 commit comments