PID: params always use set method

This commit is contained in:
Iampete1 2022-07-05 04:08:57 +01:00 committed by Peter Hall
parent 338779d27d
commit 8618b085be

View File

@ -63,7 +63,7 @@ public:
const float i,
const float d,
const int16_t imaxval) {
_kp = p; _ki = i; _kd = d; _imax = imaxval;
_kp.set(p); _ki.set(i); _kd.set(d); _imax.set(imaxval);
}
float kP() const {