Ajout de la détection avancée
Match_begin fonctionnel (DUH)
This commit is contained in:
parent
be3ab6785b
commit
4b5cca26d8
2 changed files with 5 additions and 4 deletions
|
@ -1,13 +1,13 @@
|
|||
#! /bin/bash
|
||||
|
||||
x-term -e "~/Documents/TechTheTown-HighLevel/config/auto_config.sh"
|
||||
xterm -e "/home/pi/Documents/TechTheTown-HighLevel/config/auto_config.sh"
|
||||
|
||||
couleur=$(grep $configFile -e "^COULEUR" | head -n 1 | cut -d "=" -f 2 | cut -d " " -f 2)
|
||||
couleur=$(grep "/home/pi/Documents/TechTheTown-HighLevel/config/config.txt" -e "^COULEUR" | head -n 1 | cut -d "=" -f 2 | cut -d " " -f 2)
|
||||
|
||||
if [ couleur = "orange" ]; then
|
||||
if [ $couleur = "orange" ]; then
|
||||
xterm -e "python ~/Documents/TechTheTown-HighLevel/src/patternRecognition/setPatternPosition/SetPatternPositionOrange.py;exit"
|
||||
else
|
||||
xterm -e "python ~/Documents/TechTheTown-HighLevel/src/patternRecognition/setPatternPosition/SetPatternPositionGreen.py;exit"
|
||||
fi
|
||||
|
||||
xterm -e "cd ~/Documents/TechTheTown-HighLevel; java -jar techthetown-highlevel.jar;cd - "
|
||||
xterm -e "cd ~/Documents/TechTheTown-HighLevel; java -jar techthetown-highlevel.jar;cd - "
|
||||
|
|
|
@ -202,6 +202,7 @@ echo ""
|
|||
parameterTest "SIMULATION" "true" "false"
|
||||
parameterTest "ATTENTE_JUMPER" "false" "true"
|
||||
parameterTest "BASIC_DETECTION" "false" "true"
|
||||
parameterTest "ADVANCED_DETECTION" "false" "true"
|
||||
|
||||
|
||||
# On refait la même pour la version du match
|
||||
|
|
Loading…
Add table
Reference in a new issue