Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

bug report in libtobii.py

Hello,

I have just started using PyGaze with Tobii Pro Fusion.

I had an issue with libtobii at the calibration step.

I seem to have found a solution so I would like to report both the bug and the solution.

Indeed, the calibration method of the TobiiProTracker class from libtobii tries to access the following key :

"left_gaze_origin_in_trackbox_coordinate_system"

from the gaze attribute. The key is not recognized. I fixed the bug by replacing "trackbox" with "user" and similarly with the "right_gaze..." string. I replaced all occurrences of both strings in libtobii.py. Here is why :

The attribute gaze is a list which is filled somehow using the subscribe_to function from eyetracker.py from EyeTracker.py from tobii_research with the option EYETRACKER_GAZE_DATA also from EyeTracker.py.

I don't understand the details but from what I gather, the contents come from the GazeData class in GazeData.py from tobii_research.

In this class, the following string is present :

"left_gaze_origin_in_user_coordinate_system"

I searched the tobii_research package for occurrences of

"left_gaze_origin_in_trackbox_coordinate_system"

and found none.

Yours,

A.

Sign In or Register to comment.