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]
a. run the ConfigurePermissionsAndPackages.sh script  
+
* run the ConfigurePermissionsAndPackages.sh script  
b. run worlddemo with an oculus rift headsets USB and HDMI connected to confirm it is working.
+
* run worlddemo with an oculus rift headsets 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]  
a. Install python-setup tools via the command: sudo apt-get install python-setuptools
+
* Install python-setup tools via the command: sudo apt-get install python-setuptools
b. Install python pip: sudo easy_install pip
+
* Install python pip: sudo easy_install pip
c. Install the python-ovrsdk by running: sudo pip install python-ovrsdk
+
* Install the python-ovrsdk by running: sudo pip install python-ovrsdk
d. Run the test script provided in the downloaded Python ovrSDK from step #2 above
+
* Run the test script provided in the downloaded Python ovrSDK from step #2 above
e. If running into issues with running the test script further debugging must be performed:
+
* If running into issues with running the test script further debugging must be performed:
          If issue with running libudev.so.1 try
+
* If issue with running libudev.so.1 try
 
        cd /lib/x86_64-linux-gnu/
 
        cd /lib/x86_64-linux-gnu/
 
                 sudo cp libudev.so.0.13.0 libudev.so.1
 
                 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
+
* If the x86_64 folder doesnt exist install it by sudo apt-get install libudev0:i386
            Additional help:
+
* Additional help:
 
               [https://developer.oculusvr.com/forums/viewtopic.php?f=34&t=2209 1]  
 
               [https://developer.oculusvr.com/forums/viewtopic.php?f=34&t=2209 1]  
 
               [http://www.reddit.com/r/oculus/comments/1toysa/setting_up_the_oculus_rift_i_desperately_need/ 2]
 
               [http://www.reddit.com/r/oculus/comments/1toysa/setting_up_the_oculus_rift_i_desperately_need/ 2]
  
 
3. Obtain and run the python script from [https://github.com/LofaroLabs/ARCHR-Servo-Control here]
 
3. Obtain and run the python script from [https://github.com/LofaroLabs/ARCHR-Servo-Control here]

Revision as of 02:22, 28 September 2014

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

  • run the ConfigurePermissionsAndPackages.sh script
  • run worlddemo with an oculus rift headsets 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