taking pictures is working

This commit is contained in:
Bachir Soussi Chiadmi
2016-06-10 14:49:39 +00:00
parent cd024030da
commit 7d2f91799b
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -0,0 +1 @@
server/pictures
+2 -2
View File
@@ -6,6 +6,6 @@ if [ ! -d "~/hehe-rover-pictures" ]; then
mkdir ~/hehe-rover-pictures
fi
date=date +"%Y-%m-%d"
now=$(date +"%Y-%m-%d--%T")
/opt/vc/raspistill -q 100 -o "~/hehe-rover-pictures/$date.jpg"
/opt/vc/bin/raspistill -e jpg -q 100 -o /home/alarm/hehe-rover-pictures/$now.jpg