Home Forums Unity SDK 120 Hz Data Gathering Reply To: 120 Hz Data Gathering

#20923
Henry
Participant

Hello,

Sorry for the delay @Grant, I was unavailable the last two weeks and did some further testing on my own. I am in the process of testing out the Tobii XR SDK for an eye-tracking research project that I am planning to do in the future. However, for this project to be successful, I need to have eye-tracking data written to an XML file at a resolution of 120 HZ (the native sample rate of the HTC Vive Pro Eye). My current strategy to do this is to use TobiiXR.GetEyeTrackingData(TobiiXR_TrackingSpace) in the update loop to update the data and then use the applicable XMLWriter functions to write that data to the file. However, even after setting Application.targetframerate to 120, I am only getting a resolution of 70-80 Hz in my data file. If it helps, it seems I am getting an FPS of approximately 90 FPS in my project. My question is this: What is the best way to write/save eye-tracking data at 120 Hz?