Comments (7)
Oh, just saw the Titta paper is published, congrats! 👍
from titta.
from titta.
Yeah, I also normally have a try
catch
, but in a small test setup the calibration ended up outside my try
which is how i found this.
I normally add ListenChar just before keyboard is polled, and then reset just after, so e.g. https://github.com/dcnieho/Titta/blob/master/demos/readmeMinimal.m#L54
ListenChar(-1);
EThndl.calibrate(wpnt);
ListenChar(0);
I didn't know Windows doesn't leak keypresses like Linux and macOS; interesting!
Yeah, they also told me a new SDK should fix this. For a bug which compromises core functionality, I am not impressed by how slowly they responded to this.
from titta.
I just tested KbCheck() on Windows 10 + MATLAB 2019b and I see the same behaviour, in that keys you press leak into e.g. the MATLAB editor if it has focus. Test code:
KbName('UnifyKeyNames');
loop = 0;
while true
[keyIsDown, ~, keyCode] = KbCheck(-1);
if keyIsDown == 1
rchar = KbName(keyCode);
switch lower(rchar)
case {'q','0'}
break;
case {'1','1!','kp_end'}
loop = loop + 1;
fprintf('Hello %i!\n',loop)
end
end
WaitSecs(0.01);
end
If I run that from the editor, everytime I press 1 I get the print statement but also a 1 leaking into the editor. Maybe you don't use KbCheck or set up in a different way?
from titta.
from titta.
Actually we are having serious problems getting past the calibration stage, we have yet to even collect data, I'll contact you offline for some advice...
from titta.
from titta.
Related Issues (20)
- drawLiveData called with wrong parameters from readMeTwoScreens demo HOT 1
- [Not] using multiflip for operator screen HOT 1
- [QUESTION]: Starting and stopping recording, best practice? HOT 11
- Cannot set frequency HOT 3
- Reference to non-existant field 'RMS' HOT 1
- 1.10 API Support HOT 1
- Linux: libtobii_research.so - file too short error HOT 7
- Calibration fails if eye openness is not supported HOT 8
- Linux error on Ubuntu 20.04: glibcxx_3.4.29 not found HOT 3
- Understanding the output file HOT 6
- how to deal with the HOT 1
- how to deal with error 201? HOT 1
- Testing on macOS? HOT 4
- Question concerning calibration data HOT 6
- wrong variable name in comment
- TalkToProLab: proper implementation of attachAOIToVideo
- Cannot reliably find Spectrum Pro HOT 11
- Export to CSV? HOT 3
- Crash when showing Plot HOT 1
- settings.UI.val.bgColor leaks to subject display? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from titta.