Browse Source

first picture script

Bachir Soussi Chiadmi 7 years ago
parent
commit
cd024030da
4 changed files with 15 additions and 8 deletions
  1. 1 7
      README.md
  2. 3 1
      rpi/README.md
  3. 11 0
      rpi/picture.sh
  4. 0 0
      server/README.md

+ 1 - 7
README.md

@@ -1,10 +1,4 @@
----
-title : Rover
-author : Bachir Soussi Chiadmi
-date : 10-06-2016
----
-
-Heiko Hansen - Rover
+Hehe Hansen - Rover
 ====================
 
 autonomous raspberry pi taking pictures with gps coordinates and sending them online through gsm connection

+ 3 - 1
rpi/README.md

@@ -14,5 +14,7 @@ make updates : ```pacman -Syyu```
 
 install git : ```pacman -S git```
 
-clone this repos : ```git clone guime https://g-u-i.me/gogs/bachir/hehe-rover.git ```
+clone this repos : ```git clone -o guime https://g-u-i.me/gogs/bachir/hehe-rover.git ```
+
 ## camera module
+https://wiki.archlinux.org/index.php/Raspberry_Pi#Raspberry_Pi_camera_module

+ 11 - 0
rpi/picture.sh

@@ -0,0 +1,11 @@
+#!/bin/sh
+# author : bachir soussi chiadmi
+# date : 10/06/2016
+
+if [ ! -d "~/hehe-rover-pictures" ]; then
+  mkdir ~/hehe-rover-pictures
+fi
+
+date=date +"%Y-%m-%d"
+
+/opt/vc/raspistill -q 100 -o "~/hehe-rover-pictures/$date.jpg"

+ 0 - 0
server/README.md