start script
authorBernhard Tittelbach <bernhard@tittelbach.org>
Tue, 26 Mar 2019 10:18:48 +0000 (11:18 +0100)
committerBernhard Tittelbach <bernhard@tittelbach.org>
Tue, 26 Mar 2019 10:18:48 +0000 (11:18 +0100)
bt_connect_bobbycar.sh [new file with mode: 0755]

diff --git a/bt_connect_bobbycar.sh b/bt_connect_bobbycar.sh
new file mode 100755 (executable)
index 0000000..74d97a9
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/zsh
+local BOBBYCAR=30:AE:A4:15:24:72
+sudo bluetoothctl <<< "connect $BOBBYCAR"
+sleep 3
+sudo rfcomm bind /dev/rfcomm1 $BOBBYCAR  1
+sleep 3
+./cpp/openCVnaiveObstacleAvoidance/openCVnaiveObstacleAvoidance > /dev/rfcomm1
\ No newline at end of file