From cd024030da6eb564a41f8967181dd5abf597c54a Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Fri, 10 Jun 2016 16:09:22 +0200 Subject: [PATCH] first picture script --- README.md | 8 +------- rpi/README.md | 4 +++- rpi/picture.sh | 11 +++++++++++ server/README.md | 0 4 files changed, 15 insertions(+), 8 deletions(-) create mode 100755 rpi/picture.sh create mode 100644 server/README.md diff --git a/README.md b/README.md index 77b471b..ba0afd7 100644 --- a/README.md +++ b/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 diff --git a/rpi/README.md b/rpi/README.md index 81f94de..8008c4a 100644 --- a/rpi/README.md +++ b/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 diff --git a/rpi/picture.sh b/rpi/picture.sh new file mode 100755 index 0000000..990da8e --- /dev/null +++ b/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" diff --git a/server/README.md b/server/README.md new file mode 100644 index 0000000..e69de29