aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-20 14:32:10 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-20 14:32:10 -0500
commit5ba5beb0c022fbbdca600e253022a1b004f77f7d (patch)
tree6592b95e927436e7f6fbfb3951aa18d1046bfc17
parentf30fbb440fc965812886afb1ae1ed3ae504f11ba (diff)
downloadqolab-5ba5beb0c022fbbdca600e253022a1b004f77f7d.tar.gz
qolab-5ba5beb0c022fbbdca600e253022a1b004f77f7d.zip
pid has setters and getters
-rw-r--r--qolab/feedback/__init__.py25
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