From 55dfe8c842acb8fbfe205042d4c2522d94bb6549 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 1 Jun 2026 11:23:17 -0400 Subject: [PATCH] Create command.sh --- groundstation/command.sh | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 groundstation/command.sh diff --git a/groundstation/command.sh b/groundstation/command.sh new file mode 100644 index 00000000..fba837e6 --- /dev/null +++ b/groundstation/command.sh @@ -0,0 +1,26 @@ +#!/bin/bash + +# script to send APRS or DTMR commands to a CubeSatSim + +sudo killall -9 zenity &>/dev/null + +echo + +autotune=0 + +mode=$(zenity --timeout=10 --list 2>/dev/null --width=410 --height=400 --title="Transmit Command" --text="Choose the command to transmit" --column="Command" --column="Result" a "APRS Mode" f "FSK Mode" b "BPSK Mode" s "SSTV Mode" m "CM Mode" e "Repeater Mode" j "FUNcube Mode" o "Beacon On/Off") + +echo $mode + +if [ -z "$mode" ]; then + +echo "No choice made." + +fi + +if [ "mode" = "a" ]; then + + echo "CHange to APRS mode" + +fi +