Created
February 12, 2024 22:24
-
-
Save asafmatan/b036a80d53a7cbb0326cf80f712ac29e to your computer and use it in GitHub Desktop.
PurimIrisBox Launch Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#sleep 10 | |
PROJECT_DIR=/home/asafm/PurimIrisBox | |
cd $PROJECT_DIR | |
python3 --version | |
sudo pigpiod | |
pulseaudio -D | |
date > log.txt | |
date > log1.txt | |
whoami >> log1.txt | |
ps -ef | grep pulse >> log1.txt | |
echo 'start reader engine for led and servo' | |
sudo python3 -u ${PROJECT_DIR}/servo_and_led.py >> ${PROJECT_DIR}/log.txt 2>&1 & | |
sleep 5 | |
python3 -u ${PROJECT_DIR}/speech_engine.py >> ${PROJECT_DIR}/log1.txt 2>&1 & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment