Home › Forums › Software Development › MinimalEyePositionDataStream Sample Problem › Reply To: MinimalEyePositionDataStream Sample Problem
Hi Jenny,
I was using the PositionDataStream in the App we are testing and made the assumption that it was returning accurate values, since the other two Data Streams we are using we working as expected. The incorrect / random values we noticed led me to the
.Net Samples to determine what I might be doing incorrectly.
So I first tested the MinimalGazeDataStream sample provided. Since the app runs in a DOS box I positioned the DOS box at the upper left of my display, I focused my eyes on the upper left corner of the DOS box, and noticed that the X and Y coordinates were returning values within an acceptable range. I repeated this test by moving the DOS box to the upper right, lower left, lower right of my display and all the eye positions returned by the MinimalGazeDataStream were correct.
So then I tested the MinimalPositionDataStream in the same manner. Here’s an example of the values that are returned.
Positioning the DOS box at the upper left of my display, and focusing on the upper left corner of the DOS box, returned
the following values. 3D Position: (-65.1, 74.2, 665.2) Normalized: (0.6, 0.6, 0.6)
Positioning the DOS box at the upper right of my display, and focusing on the upper right corner of the DOS box, returned
the following values. 3D Position: (-14.5, 84.9, 670.1) Normalized: (0,5, 0.6, 0.6)
All the values returned, both X,Y and the track box values, seem to be random and incorrect.
Based on the documentation the coordinates for the values returned by the PositionDataStream are in millimeters and the 0,0
is at the center of the screen. The upper right X value should be positive not negative. Similar random (incorrect) values were returned when I positioned the DOS box to the lower left and lower right of my display.
My original post calculates what values I would expect to see, base on the Tobii Documentation.
Try testing the MinimalPositionDataStream Sample in the same manner, with the same assemblies I outlined in my original post, and let me know if you get different results.