Is it possible to compile carla for VR headset and how ?
Hi, @moh3th1 . We haven't done CARLA thinking about that possibility. But we don't discard doing in the future because is very interesting. If you want to try it and share is welcome.
Hey, I managed to get Carla 0.8.3 working in VR mode on Windows using the UE4Editor, here are the steps I followed
Plugins>SteamVR/OculusVR depending on your device, restart the UE4Editorr.VSync 0 , vr.bEnableHMD 1, vr.bEnableStereo 1, r.SetRes 1920x1080fHi @shriram17,
Thanks for share with us how to use VR with Carla. We haven't worked yet with this technology. But we have it in mind for our plans for the future.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hey, I managed to get Carla 0.8.3 working in VR mode on Windows using the UE4Editor, here are the steps I followed
- Add the suitable VR plugin to UE4
Plugins>SteamVR/OculusVRdepending on your device, restart the UE4Editor- Execute the following commands via editor or blueprint, to switch to VR mode
r.VSync 0 , vr.bEnableHMD 1, vr.bEnableStereo 1, r.SetRes 1920x1080f- Setup the Player or Spectator camera to desired location and test using the VR Preview mode that can be found in the dropdown under Play button in th editor.
Note : You may need to add "HeadMountedDisplay" module in the PrivateModule Section of Carla.Build.cs file, if you wish to run HMD module code from inside the Carla Plugin.
Could you please give a more detailed set of instructions? Does this work at an arbitrary camera that we define in carla as well?
Hey, I managed to get Carla 0.8.3 working in VR mode on Windows using the UE4Editor, here are the steps I followed
- Add the suitable VR plugin to UE4
Plugins>SteamVR/OculusVRdepending on your device, restart the UE4Editor- Execute the following commands via editor or blueprint, to switch to VR mode
r.VSync 0 , vr.bEnableHMD 1, vr.bEnableStereo 1, r.SetRes 1920x1080f- Setup the Player or Spectator camera to desired location and test using the VR Preview mode that can be found in the dropdown under Play button in th editor.
Note : You may need to add "HeadMountedDisplay" module in the PrivateModule Section of Carla.Build.cs file, if you wish to run HMD module code from inside the Carla Plugin.
Hi @shriram17 ,
I am also trying to get VR working. Could you please tell me if you can manually control a vehicle/pedestrain using VR in your set up?
Thanks!
Can someone guide to a script or some comments or more development on this? Thanks.
Is there some new stuff or suggestion for the VR mode?
I'm try to following @shriram17 but it's not so clear
Most helpful comment
Hey, I managed to get Carla 0.8.3 working in VR mode on Windows using the UE4Editor, here are the steps I followed
Plugins>SteamVR/OculusVRdepending on your device, restart the UE4Editorr.VSync 0 , vr.bEnableHMD 1, vr.bEnableStereo 1, r.SetRes 1920x1080fNote : You may need to add "HeadMountedDisplay" module in the PrivateModule Section of Carla.Build.cs file, if you wish to run HMD module code from inside the Carla Plugin.