From a3e599723a34c9d41417757cbfdcf3457170951e Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 19 Sep 2020 11:48:16 -0400 Subject: [PATCH] stop rpitx when sending sstv --- groundstation/sstv.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/groundstation/sstv.sh b/groundstation/sstv.sh index a9b88e9d..14880d28 100755 --- a/groundstation/sstv.sh +++ b/groundstation/sstv.sh @@ -7,13 +7,11 @@ echo "Script to transmit SSTV images from ARISS Radio Pi using CubeSatSim Lite" echo -sudo systemctl stop rpitx - echo "Taking picture with Raspicam to Desktop raspicam.jpg" echo -raspistill -o ~/Desktop/raspicam.jpg -w 640 -h 496 +raspistill -o ~/Desktop/raspicam.jpg -w 640 -h 496 > /dev/null 2>&1 echo "Converting image to SSTV with pysstv (takes about 3 minutes)" @@ -25,6 +23,8 @@ echo "Transmitting PD120 SSTV image on 434.9 MHz using rpitx" echo +sudo systemctl stop rpitx + sudo killall -9 rpitx > /dev/null 2>&1 cat output.wav | csdr convert_i16_f | csdr gain_ff 7000 | csdr convert_f_samplerf 20833 | sudo rpitx -i- -m RF -f 434.9e3 > /dev/null 2>&1