Update pacsatsim.sh remove camera stills

master-b5
Alan Johnston 2 weeks ago committed by GitHub
parent d055a87fbe
commit fab6772e3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -161,18 +161,18 @@ fi
if [[ $(grep 'bullseye' /etc/os-release) ]]; then if [[ $(grep 'bullseye' /etc/os-release) ]]; then
echo "Pi OS is Bullseye (Debian 11)" 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 elif [[ $(grep 'bookworm' /etc/os-release) ]]; then
echo "Pi OS is Bookworm (Debian 12)" 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 elif [[ $(grep 'trixie' /etc/os-release) ]]; then
echo "Pi OS is Trixie (Debian 13)" 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 fi
echo "Copying camera.jpg to pacsat txt directory" echo "Copying camera.jpg to pacsat txt directory"
sudo rm /home/pi/PacSat/pacsat/txt/camera.jpg 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/txt/camera.jpg
value=`cat /home/pi/CubeSatSim/sim.cfg` value=`cat /home/pi/CubeSatSim/sim.cfg`
echo "$value" > /dev/null echo "$value" > /dev/null

Loading…
Cancel
Save

Powered by TurnKey Linux.