Howdy, Stranger!

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

Supported by

Pygaze plugin not sampling from Tobii Spectrum Pro

edited January 31 in PyGaze

Hi all,

I'm having some problems sampling from a Tobii Spectrum Pro in Opensesame using the Pygaze plugin.

I had a working anti-saccade protocol, then we had a COVID lockdown, and I returned to it not working :/ Now I'm just trying to get the simple example working.

When using the eye tracker, sample() is returning (-1, -1), which I understand to be an error, so the gaze dot is drawn in the top left corner. When using the advanced dummy, it works as expected.

Hacking apart the Pygaze simple tracker example to have a gaze dot, it works fine with the eye tracker. That leads me to believe that the problem lies in the Pyaze Opensesame plugin.

I am running everything in the same virtual environment, I've tried in Python 3.6 and 3.8. I'm now looking for ideas on what to try next. Happy to post whatever code or logs might be useful, but not sure how useful that is without the tracker itself.

Thanks!

Comments

  • Hi Matt,

    So I suppose you (or someone?) have updated some of the packages? Otherwise I am suprised, your experiments stopped working. I don't know details, but there were recent changes in Pygaze, maybe they have causes the issue. Debugging from my side is quite annoying, as I don't have access to a Tobii, and don't know the toolbox well enough to suggest things with first trying out things myself. Sorry!

    But generally, you are on the right track. Check out the tracestack and look into those functions what they are supposed to do and what they actually do. Perhaps like that you can find out what is happening.

    Alternatively, it might simply help to downgrade (or upgrade) both Opensesame as well as pygaze (and the plugin)

    Good luck,

    Eduard

    Buy Me A Coffee

  • Just to close the loop, I ended up eliminating OpenSesame and implementing in Pygaze. That did not solve the problem, but did help a bit with localising it to the saccade detection functions.

    I pulled out those functions from Github, redeclared them in the experiment scope (with a gaze dot for debugging), and they work.

    Inspecting my version of libtobii.wait_for_saccade_start(), it is different to that on Github (i.e., here). The clearest difference is that in the while loop, the version I have checks for a variable named moving, whereas the Github version checks for saccadic.

    pygaze.version reports 0.7.4

  • Hey @mattm

    I have also worked with the Tobii pro Spectrum and know the problem (-1 -1). If I remember correctly, however, this was not an error but was due to the output of the eye tracker. I had already written about this on GitHub with Tobii support, but it's been over two years.

    I have not yet understood your problem exactly. Can you clarify it for me a bit? Maybe we can find a solution.

  • Thanks @mirko

    The problem is solved enough for me now, I'm not sure that it's related to the (-1 -1) problem, which I have sometimes observed.

    I don't know the exact problem, but the version of libtobii.wait_for_saccade_start() that I have installed with Pygaze is not the same as that on Github. The version from Github works as expected. I haven't investigated why it doesn't work, or why it was installed.

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games