update startup

This commit is contained in:
xinyang
2019-07-15 09:56:05 +08:00
parent b71748c616
commit 819127ab93
2 changed files with 2 additions and 1 deletions

View File

@@ -3,4 +3,5 @@
cd $(dirname $0)/../
timeout 8 git pull
cd cmake-build-debug
cmake ..
make -j4

View File

@@ -2,5 +2,5 @@
echo "#!/bin/bash" > $2/startup-run
echo "$1/tools/auto-pull.sh" >> $2/startup-run
echo "gnome-terminal -- bash -c \"echo sjturm | sudo -S $1/tools/monitor.sh \\\"$2/run --run-with-camera --save-video --wait-uart\\\"\"" >> $2/startup-run
echo "gnome-terminal -- bash -c \"echo sjturm | sudo -S $1/tools/monitor.sh \\\"$2/run --run-with-camera --save-video --wait-uart --save-labelled-boxes --show-armor-box\\\"\"" >> $2/startup-run
chmod +x $2/startup-run