bugfix
This commit is contained in:
10
control.py
10
control.py
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user