neurogears / vestibular-vr

Closed-loop VR setup for Rancz Lab
2 stars 0 forks source link

Issue with halt gain in drum block type #75

Closed RoboDoig closed 4 weeks ago

RoboDoig commented 2 months ago

From @EleonoraAmbrad

In the current implementation of the VR algorithm (i.e. halt settings etc), I am not sure if thre is a way to modify rotation of drum. The idea would be to, instead of halting visual flow as it is in the linear corridor, start rotating an otherwise fixed drum in closed loop with the motor to introduce a visuo-vestibular mismatch. I think this was our idea behind the Halt Gain parameter, but i cannot get it to do this.

This should be possible with the halt gain parameter, need to investigate why it's not working in the drum block.

EleonoraAmbrad commented 2 months ago

image trying to stop drum, does not produce halts image trying to start drum, does not produce drum rotation image changed runGain to 1, but actually the motor cannot funciton like this, (it's super jumpy, I will modify my comment in H1->H2 motor control).

EleonoraAmbrad commented 1 month ago

UPDATE ON PREVIOUS COMMENTS:

my session settings file did not have the correct flowYtoRungain setting. When using flowYtoRungain > 1 I can move the drum and also produce halts in the visual flow (stop the rotation of the drum). However, I am still unable to "start" an otherwise immobile drum. (I tried setting halt gain to >1 and flowYtovisualgain = 0 )

RoboDoig commented 4 weeks ago

Closing with PR #91