Back included Vince's KB descripotion

This commit is contained in:
gac-bernina (Resp.Lemke Henrik Till)
2017-12-02 18:59:14 +01:00
parent 8d4624aac0
commit 67a873d610
+4
View File
@@ -16,6 +16,10 @@ class KB:
self.mode = PV(Id[:11]+':MODE').enum_strs[PV(Id[:11]+':MODE').value]
def __str__(self):
s = "**KB mirror**\n\n"
motors = "bend1 bend2 pitch roll yaw x y".split()
for motor in motors:
s+= " - %s = %.4f\n" %(motor, getattr(self,motor).wm())
return "KB is %s"%self.mode.lower()
def __repr__(self):