Constrain Virtual Reality (VR) Headset

Official Python bindings with a focus on reinforcement learning and robotics.
Post Reply
MichaelB
Posts: 1
Joined: Tue Apr 12, 2022 1:36 pm

Constrain Virtual Reality (VR) Headset

Post by MichaelB »

Hi there,
I'm currently developing a simulation using the QiBullet version of PyBullet developed by SoftBankRobotics as part of my university dissertation. This simulation is meant to emulate VR telepresence robotics, and as such, I'd like to be able to constrain the VR headset to the head position of the Pepper robot model I'm using.
Whilst "setVrCameraState" works nicely to track the headset along with the motion of the robot platform, this only constrains the root position. Is there any built-in way to constrain the viewpoint to a specific location on the robot frame?
I'm aware this will probably be incredibly sickening in VR (this is one of the things I shall be evaluating) and is likely the reason the functionality isn't built-in. Does anybody know of any workarounds, or have other suggestions?
Thank you in advance.
Post Reply