Skip to content

matthewdooler/quadcopter

Repository files navigation

Quadcopter

Build, test, run

./run.py # need sudo to access i2c on rpi

Dependencies

SimpleWebSocketServer

sudo pip install git+https://github.com/dpallot/simple-websocket-server.git

Crontab

sudo crontab -e:

* * * * * cd /home/pi/git/quadcopter && ./run.sh > /home/pi/quadcopter-run.log 2>&1
@reboot root cd /home/pi/git/quadcopter && ./run.sh > /home/pi/quadcopter-run.log 2>&1

crontab -e:

*/5 * * * * cd /home/pi/git/quadcopter && /usr/bin/git pull origin master > /home/pi/git.log 2>&1

Run locally

Run API server:

$ python3 -m venv venv
$ pip3 install -r requirements.txt
$ ./run.py local

Run webserver:

cd www
./run.sh

About

Quadcopter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published