[Solved] Trouble Subscribing to EyeX GazeData Stream

Home Forums Software Development [Solved] Trouble Subscribing to EyeX GazeData Stream

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #6872
    Charles
    Participant

    I’m just trying to set up a ‘Hello World’ example in Python using an EyeX tracker. I’ve followed the guide given in the SDK documentation to subscribe to the GazeData stream, but my callback isn’t doing anything. Below is a link to a Gist with my short attempt. What am I missing?

    https://gist.github.com/Skwidensky/62a9f1af11624a5607dd0e0e2111af31

    Sample output:

    Starting up
    Found eye-tracker:
    Address: tet-tcp://127.0.0.1
    Model: EyeX_Controller
    Serial numberEYEX2-030176009303
    Subscribing to GazeData for eye tracker with serial number
    EYEX2-030176009303
    Unsubscribed from gaze data
    Last received gaze package:
    None

    As you can see from the final print statement, my global_gaze_data variable is never assigned.

    #6874
    Grant [Tobii]
    Keymaster

    Hi @chuck, could you kindly provide some information of what SDK you are using? There was a python binding created by a user for the Gaze SDK but that has now since been deprecated and replaced with our new low level API which you can get @

    https://www.nuget.org/packages/Tobii.StreamEngine.Native/
    https://www.nuget.org/packages/Tobii.StreamEngine/

    This is a low level API so please only use it if you know why you are doing it. Very little support is going to be provided.

    #6877
    Charles
    Participant

    The command “pip list” shows that I downloaded tobii-research (1.0.4) with the “pip install tobii_research” command.

    I’ll check out the StreamEngine and see how it works — thank you!

    #6891
    Grant [Tobii]
    Keymaster

    Hi @chuck, thanks for the clarification. In fact this SDK (Tobii Pro SDK) is specifically designed to only work with Tobii Pro devices such as TX300, TX-120, etc and *NOT* the Tobii Tech range of trackers such as EyeX or C4.

    Accordingly, these python bindings will not work with the EyeX.

    Hopefully you manage to get up and running with our new low level Stream Engine… best of luck!

    #6892
    Charles
    Participant

    I did by using the .NET SDK instead and going from the minimal example provided. Thanks! 🙂

    #6899
    Grant [Tobii]
    Keymaster

    Cool, glad you managed to get yourself up and running!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.