This commit is contained in:
Thomas Lavocat
2019-09-06 18:53:52 +02:00
parent 90fd649e0a
commit 594645246c

View File

@@ -16,7 +16,7 @@ def getProcess(a_dire):
"-v", "-v",
"mb/mb-fr1", "mb/mb-fr1",
"-s", "-s",
"155", "120",
a_dire a_dire
], stdout=subprocess.PIPE) ], stdout=subprocess.PIPE)
@@ -415,12 +415,12 @@ while (True) :
actions[25]() actions[25]()
prev_A = A prev_A = A
if TL > -1 and not TL == prev_A : if TL > -1 and not TL == prev_TL :
if TL == 1 : if TL == 1 :
actions[26]() actions[26]()
prev_A = TL prev_TL = TL
if TR > -1 and not TR == prev_A : if TR > -1 and not TR == prev_TR :
if TR == 1 : if TR == 1 :
actions[27]() actions[27]()
prev_A = TR prev_TR = TR