TinkerPal99 / PYDrone

Repository for Pydrone Project, running on RPI, coded in Python2.7, webinterface in html and php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello, all you. Neither you are a visitor or a guest. A future coworker or a former coworker of this project, I am happy to greet you all. This is m first bigger project. So please excuse major or minor mistakes in code or documentation. You can always leave advices and make me happy :D

PYDrone V0.2

Repository for Pydrone Project, running on RPI, coded in Python
Author : TinkerPal99
Start of project on github: 12.10.2019
Documentation can be found right here : https://github.com/TinkerPal99/PYDrone/blob/master/Doku/html/index.html

Summary

  1. First things First
  2. Preparation
  3. Important informations

First things First

Dies ist eine Kontrollsoftware für verschiedene Dronen, Rover und ähnliches. Basierend auf einem RPI, und programmiert in Python. Inzwischen gibt es 2 Pakete für 2 Geräte. Einmal die PiControl, ein handschuh-artiges Gerät zur Gestenkontrolle (weiteres folgt) und der eigentliche PiTank (PiCar-basiert).

Preparation

Für die Nutzung des Webinterface benötigt das Pi php und apache. Setup wird erstellt.

Für Apache und PHP

  1. sudo apt-get install apache2
  2. sudo apt-get install -t stretch php7.0 php7.0-curl php7.0-gd php7.0-fpm php7.0-cli php7.0-opcache php7.0-json php7.0-mbstring php7.0-xml php7.0-zip php7.0-mysql -y
  3. sudo apt-get install -t stretch libapache2-mod-php7.0 -y

Für Anbindung der library für DHT11 und DHT22 (Temperatur-&Luftfeuchtigkeitssensor)

  1. sudo apt-get install build-essential python-dev python-openssl git
  2. git clone https://github.com/adafruit/Adafruit_Python_DHT.git && cd Adafruit_Python_DHT
  3. sudo python setup.py install

Webinterface Schreibrechte erteilen

Und damit das Webinterface in die Joblist schreiben und Zertifikate erstellen kann, müssen die entsprechenden Teile für den www-user freigegeben werden, beispielsweise so:

  1. sudo chown -r -s www-data /var/www/html/*

Important informations

Im Moment versuche ich das ganze objektorientiert neu aufzubauen, erste Versuche können in main/py-scripts/PiTank.py und autonomousDrive.py gefunden werden.

About

Repository for Pydrone Project, running on RPI, coded in Python2.7, webinterface in html and php


Languages

Language:Python 44.0%Language:HTML 20.4%Language:Tcl 17.2%Language:TeX 8.8%Language:C++ 3.2%Language:C 3.1%Language:JavaScript 1.5%Language:Roff 1.0%Language:CSS 0.5%Language:PHP 0.1%Language:Batchfile 0.0%Language:PowerShell 0.0%Language:Makefile 0.0%Language:Shell 0.0%