We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7a0c65 commit b8db2edCopy full SHA for b8db2ed
1 file changed
controller/pid_sp.py
@@ -79,7 +79,7 @@ def __init__(self, config, units, cycle_data):
79
self.set_target(0.0)
80
81
def _calculate_gains(self, pb, ti, td):
82
- if pd == 0:
+ if pb == 0:
83
self.kp = 0
84
else:
85
self.kp = -1 / pb
0 commit comments