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

Problem with vr_sr replay #367

Open
KarinZamrazilova opened this issue Aug 1, 2024 · 1 comment
Open

Problem with vr_sr replay #367

KarinZamrazilova opened this issue Aug 1, 2024 · 1 comment

Comments

@KarinZamrazilova
Copy link

Hello! We have encountered another issue. When trying to run vr_sr.py for replaying it outputs the picture but no actions happen in it. After some debugging we have figured out that the issue occurs while executing s.step(). We have managed to resolve it by using only functions called by step which were not causing the issue. Now we got the video replaying but for some reason approximately only half of the video seems to be executed correctly. After that avatar's hands start flying around and doing something what seems to be random. We have not essentially changed the record part of the code.

@KarinZamrazilova
Copy link
Author

That was the solution we came up with for the problem with s.step()
`while log_reader.get_data_left_to_read():
# somehow after step nothing else gets executed but without it we don't get the image
# s.step()

    for _ in range(3):
        p.stepSimulation()
    s._non_physics_step()
    # Sync PyBullet bodies to renderer and then render to Viewer
    s.sync()        
    # vr_system_dur = s.step_vr_system()
    s.fix_eye_tracking_value()
    s.perform_vr_start_pos_move()
    s.vr_system_update()
    `

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

1 participant