diff options
author | Sunil Shetye | 2018-08-27 16:37:59 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-08-27 16:43:40 +0530 |
commit | 17a1beeeae647a6fbd0904a5d794ce7754df7eb2 (patch) | |
tree | 00fa7aa4da4ae6b663e4c294380b93c1b92af3eb /js/Linear/PID.js | |
parent | 8e6c876e5582928ab6909cf0f3529a97f622520d (diff) | |
download | sci2js-17a1beeeae647a6fbd0904a5d794ce7754df7eb2.tar.gz sci2js-17a1beeeae647a6fbd0904a5d794ce7754df7eb2.tar.bz2 sci2js-17a1beeeae647a6fbd0904a5d794ce7754df7eb2.zip |
set the initial value of exprs
Diffstat (limited to 'js/Linear/PID.js')
-rw-r--r-- | js/Linear/PID.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/Linear/PID.js b/js/Linear/PID.js index 46ab9ee4..8c346451 100644 --- a/js/Linear/PID.js +++ b/js/Linear/PID.js @@ -90,6 +90,7 @@ function PID() { this.p = arguments[0]["p"]; this.i = arguments[0]["i"]; this.d = arguments[0]["d"]; + var exprs0 = [arguments[0]["p"], arguments[0]["i"], arguments[0]["d"]]; if (!ok) { break; } |