diff options
Diffstat (limited to 'qolab')
-rw-r--r-- | qolab/feedback/__init__.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/qolab/feedback/__init__.py b/qolab/feedback/__init__.py index de58d13..af165e7 100644 --- a/qolab/feedback/__init__.py +++ b/qolab/feedback/__init__.py @@ -8,6 +8,31 @@ class PID: self.sign = sign self.reset() + + def getGp(self): + return self.Gp + + def setGp(self,val): + self.Gp=val + + def getGi(self): + return self.Gi + + def setGi(self,val): + self.Gi=val + + def getGd(self): + return self.Gd + + def setGd(self,val): + self.Gd=val + + def getSign(self): + return self.sign + + def setSign(self,val): + self.sign=val + def reset(self): self.err_1dt_back = 0 |