diff --git a/script/test/InterlockMotorGroup.py b/script/test/InterlockMotorGroup.py index 86e857e..82ebe74 100644 --- a/script/test/InterlockMotorGroup.py +++ b/script/test/InterlockMotorGroup.py @@ -25,15 +25,8 @@ class InterlockFourcv (Interlock): Interlock.__init__(self, (fourcv, mu, delta, gamma, eta)) def check(self, (p, m, d, g, e)): - if - m, d, g, e = p - mv = mm, md, mg, me = m!=mg, d!=dg, g!=gg, e!=eg - nm = mv.count(True) - simult = nm > 1 - if simult: + if fourcv.isSimultaneousMove(): m, d, g, e = p - - print m, d, g, e if d>m: return False return True