changed radioafsk to cubesatsim

pull/88/head
alanbjohnston 5 years ago committed by GitHub
parent cf4f0e32cd
commit fd39466bad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,16 +13,16 @@ fi
if [[ ("$1" = "a" ) || (("$1" = "c") && ("$(($y %4))" = 3)) ]]; then if [[ ("$1" = "a" ) || (("$1" = "c") && ("$(($y %4))" = 3)) ]]; then
echo "Mode is continuous AFSK" echo "Mode is continuous AFSK"
/home/pi/CubeSatSim/radioafsk afsk /home/pi/CubeSatSim/cubesatsim afsk
elif [[ ("$1" = "b" ) || (("$1" = "c") && ("$(($y %4))" = 1)) ]]; then elif [[ ("$1" = "b" ) || (("$1" = "c") && ("$(($y %4))" = 1)) ]]; then
echo "Mode is continuous BPSK" echo "Mode is continuous BPSK"
sudo cpulimit -l 2.5 -b -P radioafsk sudo cpulimit -l 2.5 -b -P cubesatsim
/home/pi/CubeSatSim/radioafsk bpsk /home/pi/CubeSatSim/cubesatsim bpsk
elif [[ ("$1" = "s" ) || (("$1" = "c") && ("$(($y %4))" = 2)) ]]; then elif [[ ("$1" = "s" ) || (("$1" = "c") && ("$(($y %4))" = 2)) ]]; then
echo "Mode is continuous SSTV" echo "Mode is continuous SSTV"
while true; do sleep 5; done while true; do sleep 5; done
else else
echo "Mode is continuous FSK" echo "Mode is continuous FSK"
/home/pi/CubeSatSim/radioafsk fsk /home/pi/CubeSatSim/cubesatsim fsk
fi fi

Loading…
Cancel
Save

Powered by TurnKey Linux.