ted-hou / mouse-behavior-arduino

You know what else is cool? Horses.
0 stars 0 forks source link

Double check eventmarker trimming for user-aborted trials. #30

Closed ted-hou closed 7 years ago

ted-hou commented 7 years ago

The current way it works is: event markers received from Arduino are stored to a buffer. Whenever a result code is received, that buffer is cleared and its contents transfered to ArduinoConnection.EventMarkers.

User triggered aborts will also clear the buffer. But if user aborts after a result code is returned, some unwanted data is still saved.

Resolving this would require changing arduino code through one of the following:

ted-hou commented 7 years ago

We'll also need to figure out how to trim out unwanted event markers for older datasets.

ted-hou commented 7 years ago

Seems to be good.