In principle, yes, the tracking server collects eye-tracking and EEG-
data and sends it over the network. However, I would not suggest
implementing a new tracking server. The current architecture (and
tracking server) is very extensible and supports some very useful
features like network auto-detection.
Adding new device adapters should, in theory, be easy.
Setup:
0) (Optional) Get Eclipse and MercurialEclipse (http://
cbes.javaforge.com/update)
1) Get the tracking server's source (see my reply to the 'mac
support?' mail)
Development:
2) Have a look into the package
'de.dfki.km.text20.trackingserver.eyes.adapter.impl'. You will find
three adapters.
3) Create your own sub-package (e.g., 'mydevice')
4) Copy the DummyGazeAdapter into your package (e.g.,
MyDeviceAdapter.java)
5) Change the string 'gazeadapter:dummy' to 'gazeadapter:mydevice'.
This is how you will find your device later on.
6) Make your adapter fill a structure TrackingEvent (see start()) upon
a call to start() and pass it to the event queue passed on setup.
7) (Optional, recommended) Make your device stop filling on stop().
8) (Optional, recommended) Fill the TrackingDeviceInformation
structure.
9) (Optional, recommended) Act properly on adapterCommand(), see the
Tobii adapter for details.
Running / Testing:
10) In the file 'config.properties', set the
value ...
TrackingServerRegistryImpl.adapter.id=gazeadapter:mydevice
(to same value as 5)
11) Start the tracking server (run Launcher.java).
12) Don't forget to add some debug output to see what you fill into
the queue mentioned in 6).
13) Start your PEEP / Browser-Plugin application and make sure only
your tracking server is running. It should use the output you
generate.
If you see 12) working but 13) does not work, it is likely our
fault ;-)
Also see the other tracking adapters for details.
Kind regards
Ralf
P.S. I will be on vacation for the next two weeks (that is, if the
Spanish ATCs go back to work ...), so I won't read any mails.