Debug the installation on a Rpi
parent
738257161b
commit
b2a4be3baf
|
@ -22,7 +22,7 @@ adapt the packages to your distribution
|
|||
First, install the required packages:
|
||||
|
||||
sudo apt-get update -y
|
||||
sudo apt-get install -y python3-dev python3-setuptools libjpeg-dev zlib1g-dev libpng12-dev libfreetype6-dev python3-pip libhidapi-libusb0 xboxdrv libopenhmd-dev
|
||||
sudo apt-get install -y python3-dev python3-setuptools libjpeg-dev zlib1g-dev libpng12-dev libfreetype6-dev python3-pip libhidapi-libusb0 xboxdrv python3-numpy
|
||||
|
||||
Then clone the project and install the dependencies:
|
||||
|
||||
|
@ -30,6 +30,13 @@ Then clone the project and install the dependencies:
|
|||
cd BeYourHero
|
||||
sudo pip3 install -r requirements.txt
|
||||
|
||||
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
|
||||
|
||||
## Run
|
||||
|
||||
Execute the script `src/RUN.py`:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
pyserial
|
||||
numpy==1.11.0
|
||||
numpy
|
||||
Pillow
|
||||
pi3d==2.15
|
||||
git+https://github.com/WayneKeenan/python-vrzero
|
||||
|
|
|
@ -209,7 +209,6 @@ class handlers:
|
|||
orientation += 2
|
||||
#self.body_orientation = 90
|
||||
if self.mykeys.key_state("KEY_W"): #pi3d.event.Event.key_to_code('KEY_W'):#119: #key z forward
|
||||
print("FRONT")
|
||||
self.z+=1
|
||||
self.mv_run += math.fabs(self.avatar_speed*1/2)
|
||||
self.mv_run_diff = 1
|
||||
|
|
Loading…
Reference in New Issue