Commit af7509ed authored by Generic Bliss account for Control Software's avatar Generic Bliss account for Control Software Committed by Matias Guijarro
Browse files

symetrie hexapod: "pmac" method only exists for 1st protocol version

parent 483aab68
Pipeline #55046 passed with stages
in 128 minutes and 13 seconds
......@@ -251,7 +251,11 @@ Q86=%f Q87=%f Q88=%f Q89=%f Q90=%f Q91=%f Q20=21"
except ValueError:
raise TypeError("Need float values to define user and object origin")
self.protocol().pmac(cmd)
prot = self.protocol()
if isinstance(prot, HexapodProtocolV1):
prot.pmac(cmd)
else:
raise NotImplementedError
def __info__(self):
return self.get_info(None)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment