Registered: 1528899642 Posts: 1
Reply with quote #1
Hi, I am hoping to use the Pupil Labs (https://pupil-labs.com) eye tracking software with a usb connection to MonkeyLogic as a cheap alternative to the existing eye tracker. It seems like I can subscribe to the data stream and send it out in python msgpack (https://msgpack.org/) format. I was wondering how to interface this transfer with MonkeyLogic and whether the messages will need to be converted to a MatLab format before they are sent or whether that could happen within the MonkeyLogic framework.
Registered: 1435685587 Posts: 775
Reply with quote #2
The USB is for the connection between their camera and software, not for the distribution of data. They use the ZeroMQ library (https://docs.pupil-labs.com/#network-plugins), so you need to build a ZeroMQ client (msgpack is just a way to pack the data you ship on the network protocol). Enabling communication between two processes is not a new problem. I think the summary on the ZeroMQ website may help you understand what you need to do (http://zguide.zeromq.org/php:chapter1#toc12). If you want your code to be incorporated in NIMH ML, you need to provide it as a C/C++ library.