WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-15-2014, 08:27 AM
Billy501 Billy501 is offline
Member
 
Join Date: Aug 2014
Posts: 1
Arrington Eye tracker

Dear Experts

I'm wondering if anyone can clarify the data that the Arrington Plug-in is picking up in Vizard. I'm using the code below and I get three outputs which I presumes were xposition yposition and velocity (although I can seem to find any confirmation for this) - however these values don't seem to match is being shown in viewpoint. e.g I get

[0.44207999110221863, 0.4781699776649475, 0.0] in vizard

and Viewpoint is showing ~3 and 4 for x and y positions.

Thank you all for you time.

Code:
from ctypes import * # eyetrackka
import os

import sys
sys.path.append('C:/ViewPoint 2.9.2.5')
sys.path.append('C:/Program Files (x86)/WorldViz/Vizard4/plug-ins')

vpxDll = 'C:\ViewPoint 2.9.2.5\VPX_InterApp.dll'

if ( not os.access(vpxDll,os.F_OK) ):
	print("WARNING: Invalid vpxDll path")

cdll.LoadLibrary( vpxDll )
vpx = CDLL( vpxDll )

#Create arrington extension
arrington = viz.add('arrington.dle')
#Connect to eye tracker
tracker = arrington.addEyeTracker()
#Print smoothed gaze position (default)
print tracker.getPosition()
Reply With Quote
  #2  
Old 08-15-2014, 02:13 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
The 3 outputs are x,y,z although this tracker does not provide z data so the last value is 0. The gaze position is normalized from 0-1, relative to the lower left corner of the screen.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unusual tracker sensor setup with Vizard Zhi Vizard 2 06-12-2012 09:52 AM
Integrated orientation tracker in zSight HMD Zhi Vizard 2 06-06-2012 08:29 AM
Arrington Research Eye Tracker hankiwan Vizard 0 09-09-2009 06:48 PM
The problem of tracker using via VRPN _kj_ Vizard 2 08-13-2009 12:03 AM
Can Vizard interact with the Arrington eye tracker? Deltcho Vizard 1 09-18-2007 02:38 PM


All times are GMT -7. The time now is 05:38 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC