User Tools

Site Tools


doc:lighthouse:setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
doc:lighthouse:setup [2019-04-04 11:07]
arnaud
doc:lighthouse:setup [2019-10-09 09:37]
kristoffer
Line 16: Line 16:
  
 Follow the guide from Triad: [[http://help.triadsemi.com/steamvr-tracking/steamvr-tracking-without-an-hmd|SteamVR Tracking without an HMD]] (the steps after 14 is optional). This has been tested to work on Windows and Linux. Follow the guide from Triad: [[http://help.triadsemi.com/steamvr-tracking/steamvr-tracking-without-an-hmd|SteamVR Tracking without an HMD]] (the steps after 14 is optional). This has been tested to work on Windows and Linux.
 +
 +<WRAP center round info>
 +**OSX**
 +
 +The paths in the triad instructions are for Windows. On Mac OSX you will find the files to update in
 +
 +<code>
 +/Users/<your user>/Library/Application Support/Steam/steamapps/common/SteamVR/SteamVR.app/Contents/MacOS/runtime/drivers/null/resources/settings/default.vrsettings
 +
 +/Users/<your user>/Library/Application Support/Steam/steamapps/common/SteamVR/SteamVR.app/Contents/MacOS/runtime/resources/settings/default.vrsettings
 +</code>
 +
 +</WRAP>
 +
  
 For the floor to be flat, it is good to start steamVR with the controller placed on the floor. The only difference with an HMD setup is the orientation of the space: with an HMD the space will be oriented when you setup the room. Without an HMD the master base station (the one in Mode B) will be at the origin of the space. The Z axis will be the vector normal to the base station window, pointing toward the inside of the base station and rotated around X to be parallel with the floor. For the floor to be flat, it is good to start steamVR with the controller placed on the floor. The only difference with an HMD setup is the orientation of the space: with an HMD the space will be oriented when you setup the room. Without an HMD the master base station (the one in Mode B) will be at the origin of the space. The Z axis will be the vector normal to the base station window, pointing toward the inside of the base station and rotated around X to be parallel with the floor.
Line 28: Line 42:
  
 ''openvr.OpenVRError: b'VRInitError_Init_VRClientDLLNotFound' (error number 102)'' ''openvr.OpenVRError: b'VRInitError_Init_VRClientDLLNotFound' (error number 102)''
 +
 +Or this when running the script from the Crazyflie firmware repos:
 +
 +<code>
 +$ python3 get_bs_position.py 
 +Openning OpenVR
 +python3: Relink `/lib/x86_64-linux-gnu/libudev.so.1' with `/lib/x86_64-linux-gnu/librt.so.1' for IFUNC symbol `clock_gettime'
 +Segmentation fault (core dumped)
 +</code>
  
 Then you are maybe missing some essential packages for openvr: Then you are maybe missing some essential packages for openvr:
Line 34: Line 57:
   * libvulkan-dev   * libvulkan-dev
   * libsdl2-dev   * libsdl2-dev
 +
 +On Ubuntu:
 +
 +<code>
 +$ sudo apt-get install libudev-dev  libvulkan-dev  libsdl2-dev
 +$ python3 -m pip uninstall openvr
 +$ python3 -m pip install openvr
 +</code>
  
 if this still doesn't work, please check this forum-thread for other options: if this still doesn't work, please check this forum-thread for other options:
Line 46: Line 77:
 <code> <code>
 # cat > /etc/udev/rules.d/99-steamvr.rules << EOF # cat > /etc/udev/rules.d/99-steamvr.rules << EOF
-KERNEL="hidraw*", ATTRS{idVendor}=="28de", MODE=="0666"+KERNEL=="hidraw*", ATTRS{idVendor}=="28de", MODE=="0666"
 EOF EOF
 </code> </code>
doc/lighthouse/setup.txt · Last modified: 2020-05-12 14:35 by kimberly