Page 1 of 1

Running the Sample code

PostPosted: 23 Nov 2016, 14:30
by chris.striemer
Hi, I'm trying out the code samples provided on the Dev page and can't seem to get it working.

As far as I can tell, the OnGazeUpdate function never runs. I assumed there was something in IGazeListener that called OnGazeUpdate whenever the tracker had an update available. Should I add it to a delegate manually?

Git repository of project

Re: Running the Sample code

PostPosted: 23 Nov 2016, 18:08
by Anders
As far as I can tell, the OnGazeUpdate function never runs.


I suggest taking a look at the C# samples to learn what you are doing wrong.

Re: Running the Sample code

PostPosted: 24 Nov 2016, 02:23
by chris.striemer
I also tried to run the sample code downloaded straight from github.

The calibration program can run the calibration steps (the moving dot) like the eyetribe UI, but once it's done calibrating it doesn't exit the calibration overlay and if I press esc to exit then a message pops up saying calibration failed. the graphical display which is supposed to show whether the eye tracker always displays the red slash even though the eyetribe UI can detect my eyes. and The mouse control button doesn't do anything even though it works through eyetribe UI. The only thing that seems to work is the "Calibration Quality" displays the same as what eyetribe UI reports.

Scroll pulls up the image which I can navigate with my mouse. But again if it's supposed to respond to my eyes I'm not seeing it.

I've uploaded the complied program here. Does it run on your side?

The only thing I did was download the code from the site and compile it.

Re: Running the Sample code

PostPosted: 24 Nov 2016, 10:23
by Anders
Thx for the feedback Chris. Would you mind posting this as an issue on the GitHub repo in question? Maybe with a link to this thread? Then I'll see to it that someone looks at this asap.

Re: Running the Sample code

PostPosted: 25 Nov 2016, 00:50
by chris.striemer
Figured it out. I was using the wrong version of the server.

Everything works now.