From f0b94c7730d1a8e076fee520ac3838056e0dad16 Mon Sep 17 00:00:00 2001 From: Alexandre Gobbo Date: Thu, 15 Aug 2019 15:18:26 +0200 Subject: [PATCH] Startup --- script/test/InterlockMotorGroup.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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