|
|
|
|
@ -78,7 +78,7 @@ echo
|
|
|
|
|
#echo
|
|
|
|
|
|
|
|
|
|
echo
|
|
|
|
|
echo "The Pacsat Ground Station are running on this Pi using FM receiver and rpitx transmitter"
|
|
|
|
|
echo "The Pacsat Ground Station is running on this Pi using FM receiver or RTL-SDR"
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
|
|
#cd /home/pi/Desktop/PacSatGround_0.46m_linux/
|
|
|
|
|
@ -90,12 +90,21 @@ echo
|
|
|
|
|
|
|
|
|
|
sudo usermod -a -G gpio pi
|
|
|
|
|
|
|
|
|
|
/usr/bin/x-terminal-emulator --geometry=120x40 -e "/home/pi/CubeSatSim/groundstation/pacsat-df.sh"
|
|
|
|
|
if [ ! "$1" = "l" ]; then
|
|
|
|
|
#/usr/bin/x-terminal-emulator --geometry=120x40 -e "/home/pi/CubeSatSim/groundstation/pacsat-df.sh"
|
|
|
|
|
echo "Using TXC FM transceiver"
|
|
|
|
|
/home/pi/CubeSatSim/groundstation/pacsat-df.sh
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
echo "Using audio loopback"
|
|
|
|
|
/home/pi/CubeSatSim/groundstation/pacsat-d.sh
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# arecord -D plughw:CARD=Loopback,DEV=1 -f S16_LE -r 48000 -c 1 | csdr convert_s16_f | csdr gain_ff 14000 | csdr convert_f_samplerf 20833 | sudo rpitx -i- -m RF -f 435045 &
|
|
|
|
|
##arecord -D plughw:CARD=Loopback,DEV=1 -f S16_LE -r 48000 -c 1 | csdr convert_s16_f | csdr gain_ff 4000 | csdr convert_f_samplerf 20833 | sudo rpitx -i- -m RF -f 435045 &
|
|
|
|
|
|
|
|
|
|
echo "Don't close the direwolf window or the Pacsatsim will stop running."
|
|
|
|
|
# echo "Don't close the direwolf window or the Pacsatsim will stop running."
|
|
|
|
|
|
|
|
|
|
cd /home/pi/Desktop/PacsatGround/
|
|
|
|
|
|
|
|
|
|
|