Example not working

Forum for development in the C++ programming language.

Example not working

Postby lstefanazzi » 24 Jun 2016, 13:25

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
lstefanazzi
 
Posts: 2
Joined: 24 Jun 2016, 13:21

Re: Example not working

Postby lstefanazzi » 28 Jun 2016, 00:47

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
lstefanazzi
 
Posts: 2
Joined: 24 Jun 2016, 13:21


Return to C++



cron