Update sstv_decode_prompt.sh change prints

fiabv4-auto-tune
Alan Johnston 2 months ago committed by GitHub
parent 128f7410af
commit 842c4623ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -137,8 +137,7 @@ if [ "$autotune" = "1" ]; then
# echo "auto-tune.txt" # echo "auto-tune.txt"
# cat /home/pi/CubeSatSim/groundstation/auto-tune.txt # cat /home/pi/CubeSatSim/groundstation/auto-tune.txt
confidence=$(awk '{print $2}' /home/pi/CubeSatSim/groundstation/auto-tune.txt) confidence=$(awk '{print $2}' /home/pi/CubeSatSim/groundstation/auto-tune.txt)
echo -n "Auto tune confidence: " echo "Auto tune confidence: " $confidence
echo $confidence
if [ "$confidence" -le "$threshold" ]; then if [ "$confidence" -le "$threshold" ]; then
sleep $retry sleep $retry
@ -146,8 +145,7 @@ if [ "$autotune" = "1" ]; then
# echo "auto-tune.txt" # echo "auto-tune.txt"
# cat /home/pi/CubeSatSim/groundstation/auto-tune.txt # cat /home/pi/CubeSatSim/groundstation/auto-tune.txt
confidence=$(awk '{print $2}' /home/pi/CubeSatSim/groundstation/auto-tune.txt) confidence=$(awk '{print $2}' /home/pi/CubeSatSim/groundstation/auto-tune.txt)
echo -n "Auto tune confidence: " echo "Auto tune confidence: " $confidence
echo $confidence
if [ "$confidence" -le "$threshold" ]; then if [ "$confidence" -le "$threshold" ]; then
sleep $retry sleep $retry
@ -155,19 +153,19 @@ if [ "$autotune" = "1" ]; then
# echo "auto-tune.txt" # echo "auto-tune.txt"
# cat /home/pi/CubeSatSim/groundstation/auto-tune.txt # cat /home/pi/CubeSatSim/groundstation/auto-tune.txt
confidence=$(awk '{print $2}' /home/pi/CubeSatSim/groundstation/auto-tune.txt) confidence=$(awk '{print $2}' /home/pi/CubeSatSim/groundstation/auto-tune.txt)
echo -n "Auto tune confidence: " echo "Auto tune confidence: " $confidence
echo $confidence
fi fi
fi fi
if [ "$confidence" -gt "$threshold" ]; then if [ "$confidence" -gt "$threshold" ]; then
frequency=$(awk '{print $1}' /home/pi/CubeSatSim/groundstation/auto-tune.txt) frequency=$(awk '{print $1}' /home/pi/CubeSatSim/groundstation/auto-tune.txt)
echo -n "Auto tune frequency: " echo "Auto tune frequency: " $frequency
echo $frequency
else else
echo "Auto tune failed, frequency unchanged" echo "Auto tune failed, frequency unchanged"
fi fi
echo echo
echo "If your CubeSatSim is transmitting in SSTV mode (mode 4) you should get images."
echo
fi fi

Loading…
Cancel
Save

Powered by TurnKey Linux.