|
|
|
|
@ -2345,7 +2345,23 @@ elif [ "$1" = "-w" ]; then
|
|
|
|
|
echo
|
|
|
|
|
cat $CONFIG
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 &>/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
|
|
|
|
|
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
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo "Taking camera image and copying to pacsat img directory"
|
|
|
|
|
cp /home/pi/CubeSatSim/camera.jpg /home/pi/PacSat/pacsat/img/camera.jpg
|
|
|
|
|
|
|
|
|
|
elif [ "$1" = "-h" ]; then
|
|
|
|
|
|
|
|
|
|
echo "config OPTION"
|
|
|
|
|
@ -2394,6 +2410,7 @@ elif [ "$1" = "-h" ]; then
|
|
|
|
|
echo " -K Change the Doppler frequency shift setting"
|
|
|
|
|
echo " -V Set the maximum CPUs"
|
|
|
|
|
echo " -w Show PiOS boot files"
|
|
|
|
|
echo " -z Take camera image for PacSat"
|
|
|
|
|
|
|
|
|
|
echo
|
|
|
|
|
exit
|
|
|
|
|
|