|
|
|
|
@ -2350,13 +2350,13 @@ elif [ "$1" = "-z" ]; then
|
|
|
|
|
|
|
|
|
|
if [[ $(grep 'bullseye' /etc/os-release) ]]; then
|
|
|
|
|
echo "Pi OS is Bullseye (Debian 11)"
|
|
|
|
|
raspistill -o /home/pi/CubeSatSim/camera.jpg -w 86 -h 64 -q 70 &>/dev/null
|
|
|
|
|
raspistill -n -o /home/pi/CubeSatSim/camera.jpg -w 86 -h 64 -q 70 &>/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 86 --height 64 -q 70 &>/dev/null
|
|
|
|
|
rpicam-still -n -o /home/pi/CubeSatSim/camera.jpg --width 86 --height 64 -q 70 &>/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 86 --height 64 -q 70 &>/dev/null
|
|
|
|
|
rpicam-still -n -o /home/pi/CubeSatSim/camera.jpg --width 86 --height 64 -q 70 &>/dev/null
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo "Taking camera image and copying to pacsat img directory"
|
|
|
|
|
|