Code Monkey home page Code Monkey logo

toolleap's Introduction

drawing

 

A virtual reality experiment to investigate the influence of tool knowledge on anticipatory eye fixations featuring eye tracking, LeapMotion hand tracking and SteamVR controller support.

SteamVR controllers LeapMotion hand tracking

 

Prerequisites

In order to run the experiment either from the build or from source the LeapMotion SDK as well as the ViveSR runtime need to be installed. They enable communication between the eyetracker/ LeapMotion hardware and the experiment. The code and build are tested with LeapMotion SDK version 4.0.0 and ViveSR runtime version 1.1.2.0. Additionally, SteamVR needs to be installed.

Running the build

A build of the experiment is available in the Build folder. In addition to the LeapMotion SDK and the ViveSR runtime, proper configuration files need to be present inside the Configuration folder in order to run the experiment. Default configuration files are provided.

Running from source

The source Unity project can be found in the Source folder. For maximum compatibility, the same software revisions should be used, that were also used during development.

Configuration

Inside the Configuration folder, there are multiple files that control the experiment setup. Default files are provided.

  • ExperimentUtcons.csv holds the trial progression during the experiment. 'Utcon' is an acronym for 'unique tool cue orientation number' and thus precisely describes a trial's configuration. Custom trial progressions can be generated from within the experiment, specifying a seed and the number of trial blocks. The default ExperimentUtcons.csv is generated from seed 4 with 3 blocks.
  • PracticeUtcons.csv holds the trial progression during the practice section at the beginning of the experiment.
  • OrientationCueNamesIds.csv holds a mapping from the positions of the tools' handles and the presented cues to unique numbers that are used in Utcons.
  • ToolNamesIds.csv holds a mapping from the tools' names to unique number that are also used in Utcons.
  • ToolLeapConfig.ini is the main configuration file of the experiment and holds diverse settings.

Starting a measurement

In order to start a measurement, first, the room and the table the participant will sit at need to be calibrated in virtual space. The calibration can be started via the Calibrate Floor & Table option in the main menu of the experiment. The calibration files will be stored in the Calibration folder that is located in the root of the experiment's file hierarchy and can be reloaded at a later time. Second, the participant's information needs to be provided using the Set Subject Data option in the main menu. The measurement can then be started using Start Experiment from the main menu.

Third-party asset credits

3D models

Some of the used 3D models were obtained from online ressources. They are all licenced under a creative commons attribution 4.0.

Texture

Sound

Vive Eye Tracking SDK notice

Distribution of the plugins in object code form is permitted via the SDK license agreement. Running the build or the code as provided here will collect facial feature data of the user for the purpose of eye tracking and the eye tracking data will be stored on the user's local machine.

API Licenses

Use of Leap Motion's UnityModules is subject to the Apache V2 License Agreement. The SteamVR Unity plugin is licensed under the BSD 3-Clause "New" or "Revised" License.

toolleap's People

Contributors

stefb4 avatar

Stargazers

Nora Maleki avatar Ashima Keshava avatar

Watchers

 avatar

Forkers

nora-maleki

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.