ocular-motor-lab / OpenIris

GNU Affero General Public License v3.0
9 stars 1 forks source link

Iss13 #18

Closed RoksanaSadeghi closed 1 year ago

RoksanaSadeghi commented 1 year ago

set the black wire (line0) as an input, read and save it into the output txt file in column Int0.

jotero commented 1 year ago

I thought about it and this is ok for now but will have two bad effects. 1) it may cause to drop frames because the camera thread really should not do much more than grab frames. Requesting the status of the line to the camera might be too much. 2) It is actually not perfect for synchronizing. Because we are grabbing a frame from the buffer, from a few milliseconds before, and then requesting the status of the line and attaching it to that frame. That's why it would be better to figure out the chunkdata. It would solve both problems. The chunk data comes with the image, so you don't need to request anything. And it really is the status at the time the frame was grabbed.