adjust PID maxOutput
This commit is contained in:
2
main.lua
2
main.lua
@@ -862,7 +862,7 @@ function CreatePID(kp, ki, kd)
|
|||||||
integral = 0, lastError = 0,
|
integral = 0, lastError = 0,
|
||||||
|
|
||||||
minOutput = 0.0,
|
minOutput = 0.0,
|
||||||
maxOutput = 64.0,
|
maxOutput = 32.0,
|
||||||
update = function(self, setpoint, pv, dt)
|
update = function(self, setpoint, pv, dt)
|
||||||
if dt <= 0 then return 0.0 end
|
if dt <= 0 then return 0.0 end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user