Commit b79ab088 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 669f4aca
Pipeline #55045 passed with stages
in 157 minutes and 56 seconds
...@@ -251,7 +251,11 @@ Q86=%f Q87=%f Q88=%f Q89=%f Q90=%f Q91=%f Q20=21" ...@@ -251,7 +251,11 @@ Q86=%f Q87=%f Q88=%f Q89=%f Q90=%f Q91=%f Q20=21"
except ValueError: except ValueError:
raise TypeError("Need float values to define user and object origin") 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): def __info__(self):
return self.get_info(None) 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