Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

autotuner-pi-controller

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

autotuner-pi-controller - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

3

index.js

@@ -29,4 +29,5 @@ /***

* @param {number} dt - Time interval between updates. Default is 1.0.
* @param {number} initialMeasuredValue - Initial value measured from the system. Default is 0.0.
*/
constructor(initialKp = 1.0, initialKi = 0.0, dt = 1.0) {
constructor(initialKp = 1.0, initialKi = 0.0, dt = 1.0, initialMeasuredValue = 0.0) {
this.kp = initialKp;

@@ -33,0 +34,0 @@ this.ki = initialKi;

{
"name": "autotuner-pi-controller",
"version": "1.0.2",
"version": "1.0.3",
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc