Jump to content
 

imarin18

Members
  • Content Count

    17
  • Joined

  • Last visited

Community Reputation

0 Neutral

About imarin18

  • Rank
    Settler

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Dear @Daniel_Y, I checked the data of timestamp with SR runtime 1.1.2.0 version. I observed that the value of time stamp was consistent for around 1.7 seconds after starting the measurement of eye movements. Then, it seemed that the time stamp was recorded properly. However, as you can see the attached graph, the sampling interval is not stable. It is understandable to see the interval fluctuates between 8 and 9 milliseconds, but the interval often goes up to around 16 milliseconds. Does it mean that the sampling is sometimes not performed exactly at 120Hz rate? Or is it because of the latency of calculation on computer? Thank you very much for your feedback you could provide. Best regards, Imarin
  2. Dear Daniel, Thank you very much for your reply. I understood. May I understand that eyes are sampled exactly at 120Hz? Or is it possible to see that the sampling frequency of eye tracking device changes? For instance, the sampling frequency is sometimes 120Hz but sometimes it changes to 130Hz, 70Hz, etc. Best regards, Imarin @Daniel_Y
  3. Dear Daniel, Yes the version is 1.1.2.0. Best regards, Imarin @Daniel_Y
  4. Dear @Daniel_Y, Thank you very much for your reply. I use SRanipal SDK v1.1.0.1. I actually investigated further after my first inquiry. I understood that it would be possible to see the same frame sequence because the frame rate would be lower than eye tracking sampling rate. However, I do not know why the time stamp did not change. Speaking of sampling frequency, I observed that the sampling might not be stable and be lower than 120Hz for the initial 30 seconds, when I measured my eye movements on Unity for 2 minutes. The attached figure shows the sampling interval in milliseconds between each sample. As you can see, the interval for some inital samples is quite longer than the expected sampling interval (1/120Hz = 8.3 ms) and then the interval becomes stable at around 8.3 ms afterwards. I guess that some initialisation process is running for the initial 30 seconds, causing the larger intervals. Do you have any thoughts about the condition? Best regards, Imarin
  5. Dear Sir or Madam, I measured my eye movements at the sampling frequency of 120Hz on Unity platform. I recorded the data of time stamp, frame, and other eye parameters such as pupil diameter. The following is a part of my measurement data. time_stamp(us) frame pupil_diameter_L(mm) pupil_diameter_R(mm) 2515185 46129 4.857666 4.549805 2515185 46129 4.847290 4.549103 As you can see, while the time stamp and frame have the same values in two lines, the pupil diameter have different values. I guess that the eye data are properly measured at 120Hz samping frequency, whereas the data of time stamp and frame are probably read by another way (e.g. reading time and frame information from laptop or Unity time function). Could anyone please comment on if my understanding is correct? Best regards, Imarin @Daniel_Y @zzy
  6. Dear Daniel, Thank you very much for the confirmation. Best regards, Imarin
  7. Dear @VIVE_Jason_Lu, Thank you very much for your support and the information. Following your guideline above, I checked "Enable Eye Data Callback" and selected Version 2. The following are what I have found from my debugging. Single eye data of VerboseData is measured properly if "Enable Eye Data Callback" is checked. If it is not checked, all the measured values are 0. Regarding eye expression data, it looks that "eye_wide" is measured successfully, though "eye_frown" and "eye_squeeze" data can not be obtainted. These two parameters still show 0. VerboseData is sampled at the frequency of 120Hz when callback function is used. However, SRanipal_Eye_v2 does not work in the callback function since it should be used in Unity main function? Combined data of VerboseData are still not measured properly as you said they were not supported at this point. Could you please double confirm if you can get "eye_frown" and "eye_squeeze" data? Best regards, imarin @Daniel_Y
  8. Dear @Daniel_Y, Thank you very much for sharing the helpful information. The callback function in version 2 enabled me to sample the eye data at 120Hz. I referred to the script of SRanipal_MirrorCameraSample_Eye_v2. Best regards, imarin
  9. Dear @VIVE_Jason_Lu, Thank you very much for sharing the helpful scripts! They worked successfully after changing two minor things. The version of SDK is 1.1.0.1. 1. In sample_getdatathread.cs, SRanipal_Eye_API.GetEyeData needs to be used instead of SRanipal_Eye.GetEyeData. 2. In sample_getdatathread.cs, we may need to add another counter in while loop. Otherwise, we can't go out the loop, causing Unity to freeze. Best regards, imarin18
  10. Dear @Lian, On Unity, if you install the package of SRanipal SDK, the folder of ViveSR will be created automatically under the folder of Assets. Best regards,
  11. Dear all, If you use Unity, you just need to make scripts with C# to create a data table, record the measured values in the table, and output the values into CSV. The following article will help you to make it. http://sovitpoudel.com.np/c-write-datatable-to-csv/ Best regards,
  12. Hi @VIVE_Jason_Lu, Thank you very much for your reply and the guidance. The version of my SR_Runtime is 1.1.0.1. I used SRanipal_Eye_v2 (version two) on Unity 2019.2.5f1 to try to get the data of eye expression. However, when I used SRanipal_Eye_v2, the measured values of the other parameters (i.e. pupil diameter, eye positions, etc.) as well as eye expression in VerboseData were 0. On the other hand, when I used SRanipal_Eye (original version), I could observe the proper values of these other parameters. Could you please confirm whether SRanipal_Eye_v2 works properly? The following are the basic scripts I use to measure the values of VerboseData. public ViveSR.anipal.Eye.EyeData_v2 eye_data = new ViveSR.anipal.Eye.EyeData_v2(); ViveSR.anipal.Eye.SRanipal_Eye_API.GetEyeData(ref eye_data); ViveSR.anipal.Eye.SRanipal_Eye_v2.GetVerboseData(out vive.VerboseData verbose_data); pupil_diameter_L = verbose_data.left.pupil_diameter_mm; // read pupil diameter of left eye. Thank you very much for your support. Best regards, imarin18
  13. Can we get the data of eye expression or isn't it supported yet? I tried to read the measured values, though all the values are 0. @Daniel_Y @Corvus
  14. I noticed from the previous thread that the function is not supported yet. https://forum.vive.com/forums/topic/5894-convergence-distance-isnt-calculating/ @Corvus @Daniel_Y
  15. I am trying to get the combined eye data: convergence_distance_validity and convergence_distance_mm on Unity. I use the following command to get the data, though the measured value is 0mm. ViveSR.anipal.Eye.GetVerboseData(out VerboseData data); Debug.Log(data.combined.convergence_distance_mm); Are the combined data available? Or do I make mistakes to capture the data?
×
×
  • Create New...