autotuner-pi-controller
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -39,3 +39,4 @@ /*** | ||
this.lastSwitchTime = Date.now(); | ||
this.relayState = 1; | ||
// Corrected relayState for both positive and negative values handling | ||
this.relayState = (initialMeasuredValue >= 0) ? -1 : 1; | ||
this.cycleTimes = []; | ||
@@ -42,0 +43,0 @@ |
{ | ||
"name": "autotuner-pi-controller", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "`autotuner-pi-controller` is a Proportional-Integral (PI) controller that uses the Relay Feedback Test for auto-tuning. The Relay Feedback Test is used to estimate the ultimate gain (Ku) and ultimate period$", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23078
146