Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added imu_timeline.py to shared_modules #2151

Merged
merged 23 commits into from Jul 7, 2021
Merged

Added imu_timeline.py to shared_modules #2151

merged 23 commits into from Jul 7, 2021

Conversation

N-M-T
Copy link
Contributor

@N-M-T N-M-T commented Jun 21, 2021

@romanroibu My original method for determining whether or not a PI recording was loaded was to identify the presence of IMU data (line 269). Then I used bool 'is_invisible_rec' to disable interaction with the Plugin (e.g. line 288) when it wasn't.

I think these checks can safely be removed if the plugin is only loaded with PI recordings. However, there have been a few cases where the IMU was missing due to hardware failure. In which case it might be worth leaving these conditions in?

@romanroibu
Copy link
Contributor

@N-M-T @papr I've updated the plugin to prevent it from being loaded by default unless:

  • Player is running
  • Recording was made using Pupil Invisible
  • Recording contains IMU data

Also removed the checks that Neil mentioned above. Tested this behaviour with a Pupil Invisible recording and a Pupil Capture recording.

@romanroibu romanroibu requested a review from papr June 22, 2021 19:54
pupil_src/shared_modules/imu_timeline.py Outdated Show resolved Hide resolved
@papr papr merged commit 28e733f into pupil-labs:develop Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants