Implement limit switches and the SC and TS commands on fake Galil motors

This commit is contained in:
Douglas Clowes
2013-06-14 13:31:28 +10:00
parent d6f72482b3
commit bff8cc2c16
2 changed files with 20 additions and 4 deletions

View File

@@ -112,7 +112,7 @@ class GalilController(object):
def doCommand(self, cmd, arg):
action = cmd[0:2]
#print "Command %s(%s) = %s" % (action, cmd[2:], arg)
if action in ["BG", "ST", "TP", "TD", "SH", "MO"]:
if action in ["BG", "ST", "TP", "TD", "SH", "MO", "SC", "TS"]:
self.doMotorCommand(cmd, arg)
if action == "LV":
self.doCommandLV(cmd, arg)