mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Update PIDThread.cpp
This commit is contained in:
@@ -137,7 +137,7 @@ int32_t getPIDResultX10Watts(int32_t setpointDelta) {
|
|||||||
// so we basically double the need (gain = 2) to get what we want.
|
// so we basically double the need (gain = 2) to get what we want.
|
||||||
return powerStore.update(TIP_THERMAL_MASS * setpointDelta, // the required power
|
return powerStore.update(TIP_THERMAL_MASS * setpointDelta, // the required power
|
||||||
TIP_THERMAL_MASS, // Inertia, smaller numbers increase dominance of the previous value
|
TIP_THERMAL_MASS, // Inertia, smaller numbers increase dominance of the previous value
|
||||||
1, // gain
|
2, // gain
|
||||||
rate, // PID cycle frequency
|
rate, // PID cycle frequency
|
||||||
getX10WattageLimits());
|
getX10WattageLimits());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user