Difference between revisions of "Setting up Oculus rift servo controller dependencies"

From Lofaro Lab Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
1. Install the older version of the Oculus SDK (0.2.5) from [https://github.com/LofaroLabs/OculusSDK-MinGW here]
 
1. Install the older version of the Oculus SDK (0.2.5) from [https://github.com/LofaroLabs/OculusSDK-MinGW here]
 
* run the ConfigurePermissionsAndPackages.sh script  
 
* run the ConfigurePermissionsAndPackages.sh script  
* run worlddemo with an oculus rift headsets USB and HDMI connected to confirm it is working.
+
* run the worlddemo file (./worlddemo) with the oculus rift headset's USB and HDMI connected to confirm it is working.
  
 
2. Install the Python ovrSDK from [https://github.com/wwwtyro/python-ovrsdk here]  
 
2. Install the Python ovrSDK from [https://github.com/wwwtyro/python-ovrsdk here]  

Latest revision as of 23:31, 30 September 2014

1. Install the older version of the Oculus SDK (0.2.5) from here

  • run the ConfigurePermissionsAndPackages.sh script
  • run the worlddemo file (./worlddemo) with the oculus rift headset's USB and HDMI connected to confirm it is working.

2. Install the Python ovrSDK from here

  • Install python-setup tools via the command: sudo apt-get install python-setuptools
  • Install python pip: sudo easy_install pip
  • Install the python-ovrsdk by running: sudo pip install python-ovrsdk
  • Run the test script provided in the downloaded Python ovrSDK from step #2 above
  • If running into issues with running the test script further debugging must be performed:
  • If issue with running libudev.so.1 try

cd /lib/x86_64-linux-gnu/

               sudo cp libudev.so.0.13.0 libudev.so.1	
  • If the x86_64 folder doesnt exist install it by sudo apt-get install libudev0:i386
  • Additional help:
             1 
             2

3. Obtain and run the python script from here