set defaults for industrialPid

This commit is contained in:
Andrei 2019-10-23 20:20:23 +03:00
parent 4749c60d2f
commit 583fc99786
1 changed files with 2 additions and 0 deletions

View File

@ -171,6 +171,8 @@ public:
// round offset and period due to the firmware limitations...
pid.offset = round(getPidOffset(model));
pid.periodMs = round((float_t)(1000.0 / settings.timeScale));
pid.antiwindupFreq = 0.0;
pid.derivativeFilterLoss = 0.0;
pid0 = pid;