From 92333b69fa01be1c6d8ed341a86d38e93450927f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Wed, 16 Sep 2026 15:28:46 -0400 Subject: [PATCH] Update pacsatsim.sh add back in camera --- pacsatsim.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pacsatsim.sh b/pacsatsim.sh index 84ca881b..05142bae 100755 --- a/pacsatsim.sh +++ b/pacsatsim.sh @@ -161,18 +161,17 @@ fi if [[ $(grep 'bullseye' /etc/os-release) ]]; then echo "Pi OS is Bullseye (Debian 11)" -# raspistill -o /home/pi/CubeSatSim/camera.jpg -w 32 -h 25 &>/dev/null + raspistill -o /home/pi/CubeSatSim/camera.jpg -w 32 -h 25 &>/dev/null elif [[ $(grep 'bookworm' /etc/os-release) ]]; then echo "Pi OS is Bookworm (Debian 12)" -# rpicam-still -o /home/pi/CubeSatSim/camera.jpg --width 32 --height 25 &>/dev/null + rpicam-still -o /home/pi/CubeSatSim/camera.jpg --width 32 --height 25 &>/dev/null elif [[ $(grep 'trixie' /etc/os-release) ]]; then echo "Pi OS is Trixie (Debian 13)" -# rpicam-still -o /home/pi/CubeSatSim/camera.jpg --width 32 --height 25 &>/dev/null + rpicam-still -o /home/pi/CubeSatSim/camera.jpg --width 32 --height 25 &>/dev/null fi echo "Copying camera.jpg to pacsat txt directory" -sudo rm /home/pi/PacSat/pacsat/txt/camera.jpg -# cp /home/pi/CubeSatSim/camera.jpg /home/pi/PacSat/pacsat/txt/camera.jpg + cp /home/pi/CubeSatSim/camera.jpg /home/pi/PacSat/pacsat/img/camera.jpg value=`cat /home/pi/CubeSatSim/sim.cfg` echo "$value" > /dev/null