Page 1 of 1

Example not working

PostPosted: 24 Jun 2016, 13:25
by lstefanazzi
Hi all,

I am new to EyeTribe. I wish to develop a windows app to connect with the EyeTracker. I downloaded the API and Boost, and everything is compiling well under Microsoft Visual Studio 2015. However, it is like the tracker is not working because I ask for coordinates and everything is 0. The callback on_gaze_date is never called.

One more weird thing: if I launch the shipped client before running my own app, I get some coordinates different from 0, however, numbers don't change and remain the same.

Please help me on debugging this.

Thanks in advance,

Leandro

Re: Example not working

PostPosted: 28 Jun 2016, 00:47
by lstefanazzi
Hi again,

I have found this in the API documentation:

"A client must send heartbeat packets to the server in order to maintain an active connection, otherwise the server does not answer".

There is no heartbeat at all in the provided example. I have added my own heartbeat but it does not work. The leds in front of the tracker switch off after a couple of seconds, which means it is not sending any data back to the server. I think the missing heartbeat could be the problem.

Any ideas? Please provide any help on this.

Regards,
Leandro