OSVR driver for use with the HTC Vive (including Vive PRE)
C++ CMake C
Latest commit e0ebcdb Jun 20, 2017 @mars979 mars979 committed on GitHub Merge pull request #32 from OSVR/openvr108
Update OSVR-Vive to latest OpenVR SDK API (currently v1.0.8)
Permalink
Failed to load latest commit information.
cmake Merge remote-tracking branch 'origin/ViveLoader' Mar 15, 2016
displays Adjust display descriptor filename. Apr 27, 2016
input Split out some display descriptor manipulation code, and let it do av… Mar 16, 2016
vendor update openvr submodule to latest version Jun 16, 2017
.clang-format add clang format Mar 14, 2016
.clang-tidy Some basic stubbed-in stuff for the build. Mar 14, 2016
.editorconfig Some basic stubbed-in stuff for the build. Mar 14, 2016
.gitignore Some basic stubbed-in stuff for the build. Mar 14, 2016
.gitmodules Remove boost-process, since we don't need it anymore... Mar 31, 2016
CMakeLists.txt minor formatting Jun 20, 2017
ChaperoneData.cpp clang format May 9, 2017
ChaperoneData.h Add missing include directives to header files. Jul 9, 2016
ComputeOutputFiles.cpp Update copyright to Razer and style sources. Mar 22, 2016
ComputeOutputFiles.h Update copyright to Razer and style sources. Mar 22, 2016
DeviceHolder.h Add missing include directives to header files. Jul 9, 2016
DisplayDescriptor.cpp Set vendor, model, and note in display descriptor, now that consumer … Apr 27, 2016
DisplayDescriptor.h Set vendor, model, and note in display descriptor, now that consumer … Apr 27, 2016
DisplayExtractor.cpp fix device handling in DisplayExtractor Jun 19, 2017
DriverContext.cpp add required Resources and DriverManager objects for DriverContext Jun 16, 2017
DriverContext.h add required Resources and DriverManager objects for DriverContext Jun 16, 2017
DriverLoader.cpp remove isHMDPresent because it's no longer part of openvr API May 9, 2017
DriverLoader.h remove isHMDPresent because it's no longer part of openvr API May 9, 2017
DriverLog.cpp clean up logger usage and comments, clang format, log to debug (when … May 9, 2017
DriverLog.h clean up logger usage and comments, clang format, log to debug (when … May 9, 2017
DriverManager.cpp fix string copy for GetDriverName Jun 20, 2017
DriverManager.h add description of new interfaces, log to debug Jun 19, 2017
DriverWrapper.h add required Resources and DriverManager objects for DriverContext Jun 16, 2017
FindDriver.cpp Todo comment and remove suspected unused code. Apr 19, 2017
FindDriver.h Combine all searchers into a single call now that we get all the data… Mar 30, 2016
GenerateTypedPropertyEnums.cpp clang format May 9, 2017
GetComponent.h Update copyright to Razer and style sources. Mar 22, 2016
GetProvider.h clang format May 9, 2017
InterfaceTraits.h clang format May 9, 2017
LICENSE add LICENSE Mar 14, 2016
MonoPoints.cpp Update copyright to Razer and style sources. Mar 22, 2016
MonoPoints.h Update copyright to Razer and style sources. Mar 22, 2016
OSVRViveTracker.cpp clean up logger usage and comments, clang format, log to debug (when … May 9, 2017
OSVRViveTracker.h clean up logger usage and comments, clang format, log to debug (when … May 9, 2017
PathConfig.h.in Update copyright to Razer and style sources. Mar 22, 2016
PointHelpers.h Add missing include directives to header files. Jul 9, 2016
Properties.cpp Merge pull request #29 from ChristophHaag/compilefixes May 10, 2017
Properties.h Merge pull request #29 from ChristophHaag/compilefixes May 10, 2017
PropertyHelper.h clean up logger usage and comments, clang format, log to debug (when … May 9, 2017
PropertyTraits.h update PropertyTraits based on latest OpenVR SDK Jun 16, 2017
QuickProcessingDeque.h Add missing include directives to header files. Jul 9, 2016
README.md Add link to OSVR-Docs page for using the Vive Jun 4, 2016
RGBPoints.cpp Update copyright to Razer and style sources. Mar 22, 2016
RGBPoints.h Add missing include directives to header files. Jul 9, 2016
Resources.cpp add description of new interfaces, log to debug Jun 19, 2017
Resources.h add IVRResources implementation Jun 16, 2017
ReturnValue.h ReturnValue.h: include utility for std::move Jul 10, 2016
SearchPathExtender.h Add missing include directives to header files. Jul 9, 2016
ServerDriverHost.cpp minor formatting Jun 20, 2017
ServerDriverHost.h add implementation of GetRawTrackedDevicePoses Jun 16, 2017
ServerPropertyHelper.h clang format May 9, 2017
Settings.cpp change log level for settings from error to info May 10, 2017
Settings.h clean up logger usage and comments, clang format, log to debug (when … May 9, 2017
ValveStrCpy.h add util headers Apr 12, 2017
VerifyLocked.h Update copyright to Razer and style sources. Mar 22, 2016
ViveLoader.cpp fix device enumeration in ViveLoader Jun 19, 2017
com_osvr_Vive.cpp clean up logger usage and comments, clang format, log to debug (when … May 9, 2017
com_osvr_Vive.json Added puck to display descriptor Apr 21, 2017
com_osvr_ViveSync.json update vive code to go with vive 1.0.6 Apr 7, 2017
osvr_server_config.vive.sample.json Adjust display descriptor filename. Apr 27, 2016

README.md

OSVR-Vive

Maintained at https://github.com/OSVR/OSVR-Vive

For details, see http://osvr.github.io

Vive specific documentation at https://github.com/OSVR/OSVR-Docs/blob/master/Configuring/HTC-Vive.md

This is a plugin for OSVR that provides access to the tracker data on HTC Vive HMDs and controllers. It also contains tools to extract a display descriptor with distortion mesh data from a Vive, as well as additional tools that build from source but are not installed into binary snapshots.

Compiling

To compile, this project requires OSVR, Eigen, and Boost, as well as the submodules included in the repository (clone with git clone --recursive). Compile as you would other CMake-based projects, setting CMAKE_PREFIX_PATH to show the way to dependencies in general. You may need to set EIGEN3_INCLUDE_DIR specifically.

You may also use a pre-compiled set of binaries from the project. They're available from http://access.osvr.com/binary/vive

Developer links

These may be useful in keeping track of upstream changes to the lighthouse driver library.

Licenses

This plugin: Licensed under the Apache License, Version 2.0.

Vendored projects:

  • Valve SteamVR openvr (specifically openvr_driver headers) - MIT license.

Note: At runtime, this plugin dynamically loads the Lighthouse SteamVR plugin distributed with SteamVR, as well as loads some SteamVR configuration settings (room calibration, etc) from JSON files.