|
|
|
|
@ -124,27 +124,21 @@ cd rpitx
|
|
|
|
|
|
|
|
|
|
./install.sh
|
|
|
|
|
|
|
|
|
|
cd
|
|
|
|
|
|
|
|
|
|
FILE=/home/pi/pi_pacsat/Debug/pi_pacsat # code has already been compiled
|
|
|
|
|
if [ -f "$FILE" ]; then
|
|
|
|
|
cd
|
|
|
|
|
git clone https://github.com/alanbjohnston/iors_common.git
|
|
|
|
|
|
|
|
|
|
cd iors_common/Debug/
|
|
|
|
|
|
|
|
|
|
make all
|
|
|
|
|
|
|
|
|
|
sudo ./install.sh
|
|
|
|
|
|
|
|
|
|
cd
|
|
|
|
|
|
|
|
|
|
#git clone https://github.com/alanbjohnston/pi_pacsat.git
|
|
|
|
|
git clone https://github.com/ac2cz/pi_pacsat.git
|
|
|
|
|
|
|
|
|
|
cd pi_pacsat
|
|
|
|
|
|
|
|
|
|
#git checkout master-debug
|
|
|
|
|
|
|
|
|
|
cd Debug
|
|
|
|
|
|
|
|
|
|
make all
|
|
|
|
|
|
|
|
|
|
mkdir /home/pi/PacSat
|
|
|
|
|
@ -167,6 +161,17 @@ echo "pb_open=1" > pacsat.state
|
|
|
|
|
echo "uplink_open=1" >> pacsat.state
|
|
|
|
|
echo "pb_max_period_for_client_in_seconds=60" >> pacsat.state
|
|
|
|
|
echo "uplink_max_period_for_client_in_seconds=60" >> pacsat.state
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
FILE=/home/pi/pacsat_telem/Debug/pacsat_telem # code has already been compiled
|
|
|
|
|
if [ -f "$FILE" ]; then
|
|
|
|
|
cd
|
|
|
|
|
git clone https://github.com/alanbjohnston/pacsat_telem.git
|
|
|
|
|
cd pacsat_telem
|
|
|
|
|
git checkout master-fox
|
|
|
|
|
cd Debug
|
|
|
|
|
make all
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
sudo sed -i 's/#hdmi_group=1/hdmi_group=2/g' /boot/config.txt
|
|
|
|
|
sudo sed -i 's/#hdmi_mode=1/hdmi_mode=16/g' /boot/config.txt
|
|
|
|
|
|