Skip to content

xrtlab/clovr

Repository files navigation

CLOVR: Collecting and Logging OpenVR Data from SteamVR Applications

Collecting and Logging OpenVR (CLOVR) is an application for collecting realtime data from VR equipment using OpenVR through the SteamVR runtime component. Pose and interaction data is collect in realtime as a secondary target application is being observed as a primary application. Meanwhile, CLOVR does not interface directly with an application and acts as a OpenVR overlay. Additonally, CLOVR can interface with external screen recording software such as Open Broadcasting Software (OBS) to record the in-VR session.

Key Features

CLOVR can perform the following:

  • Record poses and interactions from all connected VR equipment (HMD, lighthouses, controllers, trackers) as supported by SteamVR (This includes current Vive and Oculus systems)
  • Support for different refresh resolutions (Dependent on VR refresh rate)
  • Record image frames from the mirror VR view captured from SteamVR
  • Record video using OBS as a service
  • Present standarized likert questionnaires and capture answers during recording or without recording
  • Record microphone separately from OBS
  • Record sessions with a timer
  • Pause recording sessions when headset is not active or on user's head
  • Sync pose recording with OBS recording
  • Stand-alone process handling library to granularly control the OBS process to ensure exact start and stop of OBS

Setup

  1. Install OBS from a trusted source a. Install this application first to be able to record videos
  2. Download and unpackage CLOVR in a known location
  3. Start SteamVR. a. If on the Occulus platform, connect your Occulus, connect to Occulus Rift, and start SteamVR
  4. Start CLOVR, record a test recording to confirm and setup/apply settings to OBS.
  5. If there is an OBS recoring error, open OBS and confirm the following: a. Profile set is: CLEVER_OpenVR_OBS_Capture b. Scene Collection set is: Video-and-Microphone-VR-Capture
  6. You should be ready to record any application!

Please take a look at our installation videos to view a more verbose and step by step explanation on the installation process.

Example Datasets (One-Shot Datasets)

We have included recordings from different applications to provide a diverse level of data that researchers can immediately use to test their CSV loading. Please look at this repository to locate the datasets at: https://doi.org/10.5281/zenodo.10499190

Questionnaires

By default we in clude 4 premade questionnaires. These are:

  • Game engagement questionnaire (GEQ)
  • Spatial presence experience scale (SPES)
  • Simulator Sickness Questionnaire (SSQ)
  • Preliminary Embodiment Short Questionnaire (PESQ)

Users are encouraged to develop additional Likert questionnaires using the template format we provide.

User Manual

The user manual for CLOVR can be downloaded in this repository. It is reccomended to look at the video below for a quick start version.

There is also a written user manual found in the /Documentation folder in this repository.

Referencing CLOVR

CLOVR will be published in the future and will have an associated bibtex to reference from. This shall be placed here in the future.

License and External Libraries

This project is licensed under the MIT license. Some code snippets from other projects may have also been included, however all are open-source projects.

The following are the potential sources of code:

I also include Unity Process Passthrough's code on a separate repository in case I require to update it in the future.

ChatGPT was occasionally used for guessing or locating code API from OpenVR, however all code was written from scratch where it was used.

Pull Requests and Issues

Please file your pull requests and issues in their respective channels. As it might be expected that this project might wind down after publication, please submit your requests and concerns as early as possible. Code mantainers are welcomed.

Contribuitors

The supporting authors for this project have been the following:

  • Esteban Segarra Martinez (University of Central Florida) - Full development of the tool and writeup of the associated publication.
  • Ayesha Malik (University of Central Florida) - Wrote documentation, tested early prototypes, and edited the publication paper
  • Ryan P. McMahan (University of Central Florida) - Advised and steered suggestions to improve the tool

Papers that have used CLOVR

This section remains blank and to be updated in the future.

Supporting Grants

This project was supported by the National Science Foundation through the grant number 2232448 with the name Capturing and Logging Ecological Virtual Experiences and Reality (CLEVER).