diff options
Diffstat (limited to 'js/Linear/PID.js')
-rw-r--r-- | js/Linear/PID.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/Linear/PID.js b/js/Linear/PID.js index c07683ba..deab1153 100644 --- a/js/Linear/PID.js +++ b/js/Linear/PID.js @@ -51,10 +51,10 @@ function PID() { return options; } PID.prototype.set = function PID() { - this.p = parseFloat((arguments[0]["p"])) - this.i = parseFloat((arguments[0]["i"])) - this.d = parseFloat((arguments[0]["d"])) - this.exprs0 = parseFloat((arguments[0]["exprs0"])) + this.p = arguments[0]["p"] + this.i = arguments[0]["i"] + this.d = arguments[0]["d"] + this.exprs0 = arguments[0]["exprs0"] ppath = list(0,0,0); for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[this.i-1]; |