Jump to content

Getting started with VR eye tracking development for research

Recommended Posts

On 4/8/2020 at 3:24 PM, Djangi said:

Thanks @corvus for your input. Maybe this is because of lack of experience but I actually had a pretty hard time to access the wanted parameters since you can't access the wanted directly. It would be nice to have some code examples in the documentation.
I did the following:

private void Update()
    SRanipal_Eye_API.GetEyeData(ref data);
    Debug.Log("left eye pupil: " + data.verbose_data.left.pupil_diameter_mm);
    Debug.Log("right eye pupil: " + data.verbose_data.right.pupil_diameter_mm);

I'll also try to get this running at 120hz with the example code from the thread that you shared with me previously.

Btw, is there also an online reference to the documentation?

Thanks @Djangi, that actualy helped me a lot in getting pupil data. I was wondering if you managed to receive pupil data more often than every frame, e.g. from another thread? Is that even possible @Corvus?

Share this post

Link to post
Share on other sites

Please sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...