Browse Source

Merge branch 'master' of https://g-u-i.me/gogs/bachir/hehe-rover

Bachir Soussi Chiadmi 8 years ago
parent
commit
c6140b597e
2 changed files with 3 additions and 2 deletions
  1. 1 0
      .gitignore
  2. 2 2
      rpi/picture.sh

+ 1 - 0
.gitignore

@@ -0,0 +1 @@
+server/pictures

+ 2 - 2
rpi/picture.sh

@@ -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