From 583fc997863f6ddb37cb1cc2e57bcb1b54b7aade Mon Sep 17 00:00:00 2001 From: Andrei Date: Wed, 23 Oct 2019 20:20:23 +0300 Subject: [PATCH] set defaults for industrialPid --- pid_auto.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pid_auto.h b/pid_auto.h index 9a03305..7ef4387 100644 --- a/pid_auto.h +++ b/pid_auto.h @@ -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;