Simple hack to allow reading inputs on the fake Galil.

This was done for the shutter.sct on Bilby.
This commit is contained in:
Ferdi Franceschini
2014-06-17 12:29:50 +10:00
parent 79cedd58dc
commit eadb336ef3

View File

@ -76,6 +76,8 @@ class GalilController(object):
response.append(" 0000000000")
elif item == "_XQ0":
response.append(" 0000000123")
elif item[0] == "@":
response.append(" 1.0000")
elif len(item) == 4 and item[0] == "_":
axis = arg[3]
param = self.motors[axis].doQuery(item[1:3])