From 19903366be76221da8739bd9ce8ff285c5a8a08b Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Tue, 26 Mar 2019 11:18:48 +0100 Subject: [PATCH] start script --- bt_connect_bobbycar.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 bt_connect_bobbycar.sh diff --git a/bt_connect_bobbycar.sh b/bt_connect_bobbycar.sh new file mode 100755 index 0000000..74d97a9 --- /dev/null +++ b/bt_connect_bobbycar.sh @@ -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 -- 1.7.10.4