Open bimac opened 11 months ago
@oliche @samupicard
also, from a design-perspective - does it make sense to do this in the state-machine at all?
I don't know about the design question, but the camera-dependency definitely needs to be parametrized. A buggy video PC can currently block up the entire task pipeline, and there is no workaround
currently, when starting a session inheriting from
ActiveChoiceWorldSession
, the task blocks up if no sync pulses from the camera are received on the Bpod's behavior port during the first state of the state-machine:https://github.com/int-brain-lab/iblrig/blob/3d16f407397f9ab9342746fe95d0b4a71a5d0212/iblrig/base_choice_world.py#L578-L585
could/should this state have a time-out or be entirely optional?