Skip to content

Latest commit

 

History

History
executable file
·
33 lines (25 loc) · 838 Bytes

README.md

File metadata and controls

executable file
·
33 lines (25 loc) · 838 Bytes

Piwars 3.0

This is the latest incarnation for Piwars 3.0, by Hitchin Hackspace.

Install Instructions

''' cd ~
mkdir Projects
cd Projects
git clone https://github.com/hackhitchin/piwars3.git
sudo apt-get install python-cwiid
sudo apt-get install python-dev python-setuptools
sudo easy_install Pillow
sudo easy_install -U RPIO
sudo pip install --upgrade pip enum34
sudo pip install ordereddict '''

Pre-requisites

https://github.com/johnbryanmoore/VL53L0X_rasp_python

https://github.com/metachris/RPIO ('v2' branch)

Needs to be run as root and set PYTHONPATH to find the VL53L0X library, eg.

sudo PYTHONPATH=/home/pi/VL53L0X_rasp_python/python ./lidar_test.py

PID

PID class found at https://github.com/ivmech/ivPID

Linked from http://code.activestate.com/recipes/577231-discrete-pid-controller/