Skip to content
Snippets Groups Projects
Commit 54b02ee0 authored by Alberto Nidasio's avatar Alberto Nidasio
Browse files

[PID] Made public controller variables

parent 2425f2c2
No related branches found
No related tags found
No related merge requests found
......@@ -84,13 +84,13 @@ public:
double getI() { return i; }
double Kp; // Proportional factor.
double Ki; // Integral factor.
double Ts; // Sampling period.
double uMin, uMax; // Anti-windup limits.
private:
const double Kp; // Proportional factor.
const double Ki; // Integral factor.
const double Ts; // Sampling period.
const double uMin, uMax; // Anti-windup limits.
double i = 0; // Integral contribution.
bool saturation = false;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment