# Using new Tobii Pro SDK with Psychopy backend

**URL:** <https://discourse.psychopy.org/t/using-new-tobii-pro-sdk-with-psychopy-backend/2869>\
**Category:** Coding\
**Tags:** eyetracking\
**Created:** [August 4, 2017, 12:07pm UTC](https://discourse.psychopy.org/t/using-new-tobii-pro-sdk-with-psychopy-backend/2869 "2017-08-04T12:07:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![oguayasa](https://avatars.discourse-cdn.com/v4/letter/o/aeb1de/32.png) [@oguayasa](https://discourse.psychopy.org/u/oguayasa)\
**Post date:** [August 4, 2017, 12:07pm UTC](https://discourse.psychopy.org/t/using-new-tobii-pro-sdk-with-psychopy-backend/2869/1 "2017-08-04T12:07:01Z")

</div>

Hi Everyone,

Although I haven’t been active on PsychoPy discourse before, I’ve used PsychoPy quite a lot in my research and wanted to share some code that I’ve been working on.

I’ve been developing a wrapper to work with the new Tobii Pro SDK that just replaced the Tobii Analytics SDK. It only contains pretty basic functionality and calibration routines, but it should be enough to help people get started with Tobii trackers and their new SDK. Currently, the wrapper is hosted on my [github](https://github.com/oguayasa/tobii_pro_wrapper) and can be downloaded as a package.

Please let me know how this package works for y’all, and any suggestions about adding or changing its functionality would be very appreciated.

---

<div class="post-metadata">

**Author:** ![jon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jon/32/22_2.png) [@jon](https://discourse.psychopy.org/u/jon)\
**Post date:** [August 4, 2017, 12:54pm UTC](https://discourse.psychopy.org/t/using-new-tobii-pro-sdk-with-psychopy-backend/2869/2 "2017-08-04T12:54:46Z")

</div>

Thanks! Looks cool. I should note there’s another project like this, also on github, here:

> **[hsogo/psychopy\_tobii\_controller](https://github.com/hsogo/psychopy_tobii_controller)**
>
> psychopy\_tobii\_controller - A module to use tobii\_research package with PsychoPy.

---

<div class="post-metadata">

**Author:** ![oguayasa](https://avatars.discourse-cdn.com/v4/letter/o/aeb1de/32.png) [@oguayasa](https://discourse.psychopy.org/u/oguayasa)\
**Post date:** [August 4, 2017, 1:00pm UTC](https://discourse.psychopy.org/t/using-new-tobii-pro-sdk-with-psychopy-backend/2869/3 "2017-08-04T13:00:33Z")

</div>

Oh cool! So he made one for the new SDK, thanks for pointing that out!

---

<div class="post-metadata">

**Author:** ![jan.freyberg](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jan.freyberg/32/66_2.png) [@jan.freyberg](https://discourse.psychopy.org/u/jan.freyberg)\
**Post date:** [August 4, 2017, 1:06pm UTC](https://discourse.psychopy.org/t/using-new-tobii-pro-sdk-with-psychopy-backend/2869/4 "2017-08-04T13:06:30Z")

</div>

This is exciting work, thanks for sharing! I will take a look at this and see if there’s anything I can add!

Out of curiousity, if you’ve spent time with this SDK - are you aware what the current compatibility and licensing rules are? Is this SDK compatible with all of Tobii’s trackers, or just the Pro ones? This question has come up a few times on the forums now.

---

<div class="post-metadata">

**Author:** ![oguayasa](https://avatars.discourse-cdn.com/v4/letter/o/aeb1de/32.png) [@oguayasa](https://discourse.psychopy.org/u/oguayasa)\
**Post date:** [August 4, 2017, 1:12pm UTC](https://discourse.psychopy.org/t/using-new-tobii-pro-sdk-with-psychopy-backend/2869/5 "2017-08-04T13:12:59Z")

</div>

That’s a great question, I’m not particularly well versed on the compatibility and licensing rules. I’m currently using tobii pro x3-120’s to test, but my lab also has some earlier x2-60’s (i’m just out of the country and haven’t been able to use them yet). There is an [upgrade key](https://www.tobiipro.com/siteassets/tobii-pro/product-descriptions/tobii-pro-upgrade-key-product-description.pdf/?v=1.0) that should make older tracker models work with the new Pro SDK. If people can test the wrapper with other models, I would love to hear feedback.

One funny thing that I did notice is that, for some reason, the SDK v1.1 was not working with the x3-120’s, but the the SDK v1.0 hasn’t been a problem. It’s probably just a bug that they’ll fix soon.
