X-Git-Url: https://git.realraum.at/?p=201903hackathon.git;a=blobdiff_plain;f=bt_connect_bobbycar.sh;fp=bt_connect_bobbycar.sh;h=74d97a98c2dd8326b3d6759d3fe80c5164fd73cc;hp=0000000000000000000000000000000000000000;hb=19903366be76221da8739bd9ce8ff285c5a8a08b;hpb=71ec6129b4ec314b49865296ddf1e6791411641c 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