1
0
Fork 0
Scripts/Perso/MATCH_BEGIN.sh
trotFunky 4b5cca26d8 Ajout de la détection avancée
Match_begin fonctionnel (DUH)
2020-05-17 14:26:09 +01:00

13 lines
617 B
Bash
Executable file

#! /bin/bash
xterm -e "/home/pi/Documents/TechTheTown-HighLevel/config/auto_config.sh"
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
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 - "