Main content

Home

Menu

Loading wiki pages...

View
Wiki Version:
**WARNING: Sample videos contain strobing lights**. This repository contains the files required to run and analyse measurements of VR controller latency as described in *Measuring motion-to-photon latency for sensorimotor experiments with virtual reality systems.* The method to measure the latency is made up of four sets of scripts. **unity_program** The Unity program was used to measure the 'virtual' position of the VR controller and control the colour of the headset screen. The scripts to do this are located in a [separate repository][1]. **video_to_csv** While the above Unity program was running, a high speed camera recorded the actual motion of the VR controller and the colour of the headset screen. A python script was made to convert the videos into .csv files containing, for each frame, the colour of the headset screens and the position of an LED close to the controller. As the raw videos require a large (~100GB) amount of storage, they have been omitted from the repository. Also included is a script used to validate the video processing algorithm by requiring the user to manually mark whether the headset screen colour had been correctly identified in 500 random frames per system. **latency_script** The latency measurement R script takes the output of the *Unity program* and of the *Video to .csv conversion* script and combines them to give a measurement of the motion-to-photon latency. It does this per video per system. Also included are R Shiny apps used to validate the performance of the algorithm at detecting real and virtual motion onset. **summary_script** This R script takes the results of the *Latency measurement script* and combines them to create the figures for the paper. *There is also a folder listing all of the packages and versions used for the Python and R scripts.* [1]: https://github.com/immersivecognition/motion-to-photon-measurement
OSF does not support the use of Internet Explorer. For optimal performance, please switch to another browser.
Accept
This website relies on cookies to help provide a better user experience. By clicking Accept or continuing to use the site, you agree. For more information, see our Privacy Policy and information on cookie use.
Accept
×

Start managing your projects on the OSF today.

Free and easy to use, the Open Science Framework supports the entire research lifecycle: planning, execution, reporting, archiving, and discovery.