Jump to content

Pro eye sensor didn't run automatically


Recommended Posts

Hello, 

I am using the attached scripts to log my eye data with vive pro; however when the user is detected, I didn't get updated eye data for each timestamp. Anyone knows the reason?

The scripts were attached to the same game object. 

From left to right( a detail explanation was given in the code) : Time.time, unixTime, unity3d frame count , timestamp, frame_sequence, no_user, verbose_data.right.pupil_diameter_mm,..

4,463005. 1581521362,642. 0. 2034174. 5856. True. 4,223083. 0,05946324. 34,59949. 1,743484. -41,28214. -0,01016235. -0,3304138. 0,9437714. 0,420842. 0,7114134 
4,463005. 1581521362,847. 1. 2034174. 5856. True. 4,223083. 0,05946324. 34,59949. 1,743484. -41,28214. -0,01016235. -0,3304138. 0,9437714. 0,420842. 0,7114134 
4,483005. 1581521362,86. 2. 2034174. 5856. True. 4,223083. 0,05946324. 34,59949. 1,743484. -41,28214. -0,01016235. -0,3304138. 0,9437714. 0,420842. 0,7114134 
4,494838. 1581521362,866. 3. 2034174. 5856. True. 4,223083. 0,05946324. 34,59949. 1,743484. -41,28214. -0,01016235. -0,3304138. 0,9437714. 0,420842. 0,7114134 
4,504498. 1581521362,876. 4. 2034174. 5856. True. 4,223083. 0,05946324. 34,59949. 1,743484. -41,28214. -0,01016235. -0,3304138. 0,9437714. 0,420842. 0,7114134 

where the data of yellow fonts comes from unity3d internal functions while the  red fonts come from the vive pro eye API. You can see that Vive eye keeps the same out during the loop. Why?

I attach also the output of  eye data. Thank you in advance if you could give me a hand. 

Best regards,

Sample_MainThread.cs Sample_GetDataThread.cs leftEyeData.txt outFromThread.txt rightEyeData.txt combinedEyeData.txt

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...