murthylab/fly-vr

test video playlist and experimental logic

Opened this issue · 3 comments

I would like to pass a configuration file that defines certain playlist items and defines an experimental logic (see attached for eg.) to flyvr-video to test the presentation of visual stimuli and their timing.
I tried doing this two ways that I expected should work - but neither does.
Approach 1: flyvr-video -c playlists\shruthi_video_playlists\test_landmark_different_speeds.yaml
What I expect to see: I would like to see the different landmarks come on one after another. I don't want to activate the fictrac or daq or scanimage backends.
What I end up seeing: I only see the first playlist item. Basically identical to what I would have seen had I done flyvr-video -p playlists\shruthi_video_playlists\test_landmark_different_speeds.yaml

Aprroach 2: flyvr -c playlists\shruthi_video_playlists\test_landmark_different_speeds.yaml
What I expect to see: I would like to see the different landmarks come on one after another. I don't want to activate the fictrac or daq or scanimage backends.
What ends up happening: flyvr tries to start the fictrac process and fails because it doesn't find a camera or fictrac config files.

@nzjrs @davidt0x how would you achieve what I'm trying out here?


Find my playlist here: https://github.com/r-shruthi11/fly-vr/blob/shruthi_A88B/playlists/shruthi_video_playlists/test_landmark_different_speeds.yaml

nzjrs commented

broadly speaking, you are on the right track. you need to execute also the flyvr-experiment process to test the time progression (https://github.com/murthylab/fly-vr#flyvr-architecture). I suspect (untested) the following will work, more or less, although you should check --help on both processes as I might have forgotten some extra flags like --pause, --start or similar.

  1. flyvr-video -c playlists\shruthi_video_playlists\test_landmark_different_speeds.yaml
  2. flyvr-experiment -c playlists\shruthi_video_playlists\test_landmark_different_speeds.yaml

Do you mean to run both these simultaneously? I tried the first and expected it to work to test time progression but it didn't work as expected.

nzjrs commented

Do you mean to run both these simultaneously? I tried the first and expected it to work to test time progression but it didn't work as expected.

yes, simultaneously.