1
0
Fork 0

Ajout de la détection avancée

Match_begin fonctionnel (DUH)
This commit is contained in:
trotFunky 2018-05-07 18:16:39 +02:00
parent be3ab6785b
commit 4b5cca26d8
2 changed files with 5 additions and 4 deletions

View file

@ -1,10 +1,10 @@
#! /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"

View file

@ -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