prajaktakhandve Posted November 3, 2020 Share Posted November 3, 2020 Hello Forum, We are a group of students using HTC Vive Pro eye for Eye Tracking as part of our academic project. We need to get the eye tracking data at its maximum capture frequency, having tried the following methods we still fail to capture data at 120Hz, 1. We tried to set the Application.targetFrameRate to more than the default targetFrameRate but it did not work as the number of records did not change. We added it to the start function as in the link below: https://docs.unity3d.com/ScriptReference/Application-targetFrameRate.html 2. We tried implementing threads as mentioned in this link: https://forum.vive.com/topic/5897-getting-verbosedata-at-the-fastest-rate-possible/page/2/ . But Unity froze and the application stopped working. There are two codes, one Sample_MainThread.cs creates a new thread which creates an object of type Sample_GetDataThread.cs to get the data. There was a solution to add counter to the while loop which is in the class "Sample_GetDataThread.cs" to keep a counter and avoid unity from freezing. 3. Currently, we are using EyeDataCallback version 2 in SRanipal. We get data at 30-80 records per second and it varies. Please could someone suggest if this can be done and if yes how do we achieve it? Help will be much appreciated, Thank you! Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now