From 7fa78bb4a3160087a4fbdfef3d718d8db02254f3 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 8 Feb 2025 09:25:09 -0500 Subject: [PATCH] Update fctelem.sh load browser and image first --- groundstation/fctelem.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/groundstation/fctelem.sh b/groundstation/fctelem.sh index be023e16..fa45b5f3 100755 --- a/groundstation/fctelem.sh +++ b/groundstation/fctelem.sh @@ -60,16 +60,18 @@ cd /home/pi/CubeSatSim/groundstation/public_html cp /home/pi/CubeSatSim/groundstation/index.html . +cp /home/pi/CubeSatSim/sstv/sstv_image_1_320_x_256.jpg /home/pi/CubeSatSim/groundstation/image_file.jpeg + python3 -m http.server & +setsid chromium-browser --check-for-update-interval=1 --simulate-critical-update --noerrdialogs --disable-infobars http://127.0.0.1:8000 &>/dev/null & + cd /home/pi/fctelem ./fctelem | python3 /home/pi/CubeSatSim/groundstation/fc_block_decode.py & # sleep 10 -setsid chromium-browser --check-for-update-interval=1 --simulate-critical-update --noerrdialogs --disable-infobars http://127.0.0.1:8000 &>/dev/null & - read val sudo killall -9 fctelem &>/dev/null