diff --git a/groundstation/pacsat.sh b/groundstation/pacsat.sh index 4daff914..38799d49 100755 --- a/groundstation/pacsat.sh +++ b/groundstation/pacsat.sh @@ -67,18 +67,26 @@ echo #echo echo -echo "The Pacsat and Pacsat Ground Station are running on this Pi using audio loopback" +echo "The Pacsat Ground Station are running on this Pi using FM receiver and rpitx transmitter" echo -cd /home/pi/Desktop/PacSatGround_0.46m_linux/ +#cd /home/pi/Desktop/PacSatGround_0.46m_linux/ -setsid java -Xmx512M -jar PacSatGround.jar "/home/pi/PacSatGround" # removed & +#setsid java -Xmx512M -jar PacSatGround.jar "/home/pi/PacSatGround" # removed & #direwolf -P+ -D1 -qd -dp -r 48000 -c /home/pi/CubeSatSim/groundstation/direwolf/direwolf-pacsat-loopback.conf -t 0 # & #/usr/bin/x-terminal-emulator --geometry=120x40 -e "direwolf -P+ -D1 -qd -dp -r 48000 -c /home/pi/CubeSatSim/groundstation/direwolf/direwolf-pacsat-loopback.conf -t 0" +/usr/bin/x-terminal-emulator --geometry=120x40 -e "/home/pi/CubeSatSim/groundstation/pacsat-d.sh" + +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 & + +echo "Don't close the direwolf window or the Pacsatsim will stop running." + +cd /home/pi/Desktop/PacSatGround_0.46m_linux/ + +setsid java -Xmx512M -jar PacSatGround.jar "/home/pi/PacSatGround" # removed & -#echo "Don't close the direwolf-pacsat-loopback window or the Pacsatsim will stop running." #cd /home/pi/Desktop/PacSatGround_0.46m_linux/