Jump to content

Writing Data at 120 Hz

Recommended Posts

I am in the process of testing out the SRanipal 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 update the data in the update loop 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? Ideally, the solution would allow me to access the transform.position of the object being focused on and perform raycasts

Edited by hrheiberger
  • Like 1
Link to comment
Share on other sites

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

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...