GergelyTuri / tFC-rig

trace fear conditioning rig
GNU General Public License v3.0
0 stars 0 forks source link

Add an offset for secondary rig pause #21

Closed cpaynerogers closed 7 months ago

GergelyTuri commented 7 months ago

I added a variable as an offset for the secondary rig to correct for this. Here is what is happening:

I set it so the secondary rig should be 250ms "faster" -- from the data you share it looks like the secondary rig is always at least 200ms behind and sometimes up to the entire 500ms. Whatever the variance is in this lag, the best we can do is shift the average to zero, so that on average the rigs are timed perfectly but based on things outside of our control sometimes the secondary rig will be a little ahead or a little behind.