From: Bernhard Tittelbach Date: Tue, 26 Mar 2019 10:18:48 +0000 (+0100) Subject: start script X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=19903366be76221da8739bd9ce8ff285c5a8a08b;p=201903hackathon.git start script --- 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