ARPi-Robotics itself is a ready-to-use micro-framework based on Python, C++, JavaScript and HTML5.
It provides several robot models based on the Arduino and Raspberry Pi.
- Communication over Wifi
- A user friendly and beautiful web-interface - no app is needed!
- Video streaming in real time (up to 1080p@30fps - yes, its full hd!)
- Based on arch linux - no limits
git clone https://github.com/arpi-robotics/arpi-robotics.git
The setup of the arduino is model specific, so take a look under the docs folder.
Then open the arduino/<model type>/<model type>.ino in your Arduino IDE and upload it to your Arduino.
The Arduino is now ready.
ssh to your raspi and then:
sudo aptitude install python-virtualenv python-dev
git clone https://github.com/arpi-robotics/arpi-robotics.git
cd arpi-robotics/
virtualenv venv
source venv/bin/activate
./venv/bin/pip install -r requirements.txt
./venv/bin/python runserver.py
Open this in browser:
http://<ip-of-your-raspi>:5000/
- lag free video streaming to the browser (for now we are using netcat, tried vlc, ffmpeg, gstreamer and mjpeg-stream - all with lags >2s)
- run with the fast python interpreter "pypy" (gevent is here the problem)
- implement json rpc over websockets to be able to call functions remotely in javascript (https://github.com/brainrape/jsonrpcws)
- handle wifi connections directly in python
- create a basis to work with opencv