2016-12-20 18:04:10 +00:00
|
|
|
# Be Your Hero!
|
|
|
|
|
2016-12-26 09:06:36 +00:00
|
|
|
---
|
|
|
|
|
2016-12-21 22:56:59 +00:00
|
|
|
Welcome to Be Your Hero ! project
|
|
|
|
This project will give you a full gesture control of any virtual hero you like with a simple set of inexpensive devices using sensors.
|
2016-12-26 09:06:36 +00:00
|
|
|
The code is still in development, many improvement should be ready on the next few weeks.
|
|
|
|
|
|
|
|
Created by [Jean Perardel](http://www.instructables.com/member/jeanotP1314/) from [Lab_1314](https://www.youtube.com/watch?v=qNliaFjvuI0&t=1s).
|
|
|
|
|
|
|
|
Status: *** In development ***
|
|
|
|
|
|
|
|
![Image of Pi](Pictures/Be_Your_Hero_Cover.jpg)
|
|
|
|
|
|
|
|
---
|
2016-12-20 18:04:10 +00:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
These instructions are for Debian/Ubuntu based distributions. Please
|
2016-12-21 22:56:59 +00:00
|
|
|
adapt the packages to your distribution
|
2016-12-20 18:04:10 +00:00
|
|
|
|
|
|
|
First, install the required packages:
|
|
|
|
|
|
|
|
sudo apt-get update -y
|
2017-01-11 20:13:25 +00:00
|
|
|
sudo apt-get install -y python3-dev python3-setuptools libjpeg-dev zlib1g-dev libpng12-dev libfreetype6-dev python3-pip libhidapi-libusb0 xboxdrv python3-numpy
|
2016-12-20 18:04:10 +00:00
|
|
|
|
|
|
|
Then clone the project and install the dependencies:
|
|
|
|
|
|
|
|
git clone https://github.com/jeanot1314/BeYourHero.git
|
|
|
|
cd BeYourHero
|
|
|
|
sudo pip3 install -r requirements.txt
|
|
|
|
|
2017-01-11 20:13:25 +00:00
|
|
|
cd /tmp
|
|
|
|
wget https://github.com/WayneKeenan/python-vrzero/raw/master/install/openhmd_0.0.1-1_armhf.deb
|
|
|
|
sudo dpkg -i openhmd_0.0.1-1_armhf.deb
|
|
|
|
sudo ldconfig
|
|
|
|
cd ~
|
|
|
|
cd BeYourHero
|
|
|
|
|
2016-12-20 18:04:10 +00:00
|
|
|
## Run
|
|
|
|
|
|
|
|
Execute the script `src/RUN.py`:
|
|
|
|
|
|
|
|
sudo python3 src/RUN.py
|
|
|
|
|
2016-12-21 22:56:59 +00:00
|
|
|
## update
|
|
|
|
|
2016-12-26 09:06:36 +00:00
|
|
|
|
2016-12-20 18:04:10 +00:00
|
|
|
|