1
0
Fork 0

Changed the structure, added README

This commit is contained in:
trotFunky 2020-05-17 15:07:53 +01:00
parent 64527ae96a
commit 4bcec25c2e
6 changed files with 10 additions and 1 deletions

13
INTech/MATCH_BEGIN.sh Executable file
View file

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