From 770729a15944e72044cdcc036c7d5a3c27ec88b8 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 21 Aug 2021 14:34:14 -0400 Subject: [PATCH] nohup launch of CubicSDR --- groundstation/cubicsdr-aprs.sh | 39 +++++++++++++++++----------------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/groundstation/cubicsdr-aprs.sh b/groundstation/cubicsdr-aprs.sh index ca6b1807..97816a8a 100755 --- a/groundstation/cubicsdr-aprs.sh +++ b/groundstation/cubicsdr-aprs.sh @@ -5,26 +5,25 @@ sudo killall -9 direwolf &>/dev/null sleep 5 -CubicSDR &>/dev/null & - -sleep 15 - -xdotool mousemove 290 348 click 1 -sleep 1.9 -xdotool mousemove 449 572 click 1 -sleep 1.9 -xdotool mousemove 20 77 click 1 -sleep 1.9 -xdotool mousemove 59 208 -sleep 1.9 -xdotool mousemove 325 208 click 1 -sleep 1.9 -xdotool mousemove 290 487 click 1 -sleep 1.9 -xdotool type "cubicsdr-aprs-direwolf.xml" -sleep 5 -xdotool mousemove 938 568 click 1 -sleep 5 +echo + +echo "Opening CubicSDR" + +nohup CubicSDR /dev/null 2>&1 & + +echo + +echo "When CubicSDR opens, select Generic RTL2832 device then click Start to begin." + +echo + +echo "Then select File/Session/Open Session then load /home/pi/CubeSatSim/groundstation/cubicsdr/cubicsdr-aprs-direwolf.xml then Open." + +echo + +echo "Hit the Return key when you have done this in CubicSDR and Direwolf will start" + +read input direwolf -c direwolf.conf -r 48000 -t 0