Jump to content

neomimiz

Verified Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About neomimiz

  • Rank
    Contributor
  1. You are right I didn't update verbosedata with v2 ( SRanipal_Eye_v2.GetVerboseData(out verboseData); // v2) I get non zero values now. Thank you
  2. Thanks for your help. I tried the code below but still only zero values are returned. Dose the code below implements your suggestion correctly? using ViveSR.anipal.Eye; public class save_eyes_tracking_v2 : MonoBehaviour { public VerboseData verboseData; public float pupil_diameter; void Start() { } void Update() { SRanipal_Eye.GetVerboseData(out verboseData); pupil_diameter = verboseData.left.pupil_diameter_mm; } }
  3. Do you mean the sample scene of unity? -yes when I press play , the avatar eyes are moving according to my eyes, and the sranipal icon eyes are green. This is my code: using System.Collections; using System.Collections.Generic; using UnityEngine; using ViveSR.anipal.Eye; public class save_eyes_tracking_v2 : MonoBehaviour { public ViveSR.anipal.Eye.EyeData_v2 eyeData= new ViveSR.anipal.Eye.EyeData_v2(); public float pupil_diameter; void Start() { } void Update() { pupil_diameter = eyeD
  4. I have recently started working with unity, vive and the SR anipal. I followed the steps described in the anipal sdk, but for some reason all eye tracking values (pupil diameter, eye openness, eye position etc) are returned as zero. The runtime version of the SR anipal is 1.13, the eye camera version is 2.41 and unity is 2019.4 . I tested it with both version 1 and 2 of the SR anipal, and I extract the data in the following way: public ViveSR.anipal.Eye.EyeData eyeData = new ViveSR.anipal.Eye.EyeData(); and within the update function: pupil_diameter = eyeData.verbose_data.left.pupil_
×
×
  • Create New...