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

move_world in StimulusOSG2Controller #8

Open
chiyu1203 opened this issue Jun 19, 2024 · 1 comment
Open

move_world in StimulusOSG2Controller #8

chiyu1203 opened this issue Jun 19, 2024 · 1 comment

Comments

@chiyu1203
Copy link

Hi everyone,
I want to get tethered insects see a 360 degree sphere screen with FreemooVR. However, I noticed that move_world method is not defined in StimulusOSG2Controller class

    def move_world(self, x=0, y=0, z=0, scale=1, orientation_x=0, orientation_y=0, orientation_z=0):   
        raise NotImplementedError

Hence I can not rotate the world when animals stay at the same location rotating along vertical axis.
As there are newer functions in StimulusOSG2Controller, I do not want to move back to StimulusOSGController, is there any way to work around this issue?
Many thanks in advance.

@maxlklaxl
Copy link
Contributor

sorry, this is the latest version

maybe this helps: https://github.com/loopbio/FreemooVR/blob/master/sample_code/locust_replay/demo_osg2.py#L33

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

No branches or pull requests

2 participants