Skip to content

Commit

Permalink
Enable headlocking to fix jittering - cancel out any rotation and tra…
Browse files Browse the repository at this point in the history
…nslation coming from the headset.
  • Loading branch information
pellet committed Jun 5, 2023
1 parent 23130af commit 4ef6667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eegnb/experiments/Experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def setup(self, instructions=True):
self.trials = DataFrame(dict(parameter=self.parameter, timestamp=np.zeros(self.n_trials)))

# Setting up Graphics
self.window = visual.Rift(monoscopic=True, headLocked=False) if self.use_vr else visual.Window([1600, 900], monitor="testMonitor", units="deg", fullscr=True)
self.window = visual.Rift(monoscopic=True, headLocked=True) if self.use_vr else visual.Window([1600, 900], monitor="testMonitor", units="deg", fullscr=True)

# Loading the stimulus from the specific experiment, throws an error if not overwritten in the specific experiment
self.stim = self.load_stimulus()
Expand Down

0 comments on commit 4ef6667

Please sign in to comment.