HARPLab / DReyeVR

VR driving 🚙 + eye tracking 👀 simulator based on CARLA for driving interaction research
https://arxiv.org/abs/2201.01931
MIT License
149 stars 40 forks source link

'make launch' failed after installing SRanipal and Logitech Wheel Plugin: assertion failed #78

Closed wx983 closed 1 year ago

wx983 commented 1 year ago

build carla 0.9.13 from source

I was able to use carla before installing SRanipal and Logitech Wheel Plugin. I've already 'make pythonAPI' again after installing above Plugins and it reports no errors seemingly from the log information. But when 'make launch', it generates an error as beblow: 223e76dc36e400669cbb699d514532f.

GustavoSilvera commented 1 year ago

Hi there, we noticed this problem as well recently when we tried rebuilding from scratch to validate build settings.

I believe the issue is that you are using "too new" of a UE4 commit. The CARLA fork works for DX12 but we prefer DX11 for its improved VR performance and compatibility. So I recommend you checkout a UE4 version before the CARLA 0.9.14 work and rebuild the engine and editor.

We verified that switching the Carla Engine fork to d40ec35474e8793b4eea60dba6c4f051186e458e worked for us. Or you can also use this custom fork (on branch fov-render) that we've been developing with.

(NOTE: this is only for Carla/DReyeVR 0.9.13)

We will be working on a patch for Carla/DReyeVR 0.9.14 (and the newest version of CarlaUnreal's UE4) soon!

wx983 commented 1 year ago

Hmm, I'm not very familiar with git commands. If I want to switch the Carla Engine fork to d40ec35474e8793b4eea60dba6c4f051186e458e, is it as following two commands?

  1. git clone https://github.com/CarlaUnreal/UnrealEngine.git
  2. git checkout d40ec35474e8793b4eea60dba6c4f051186e458e
wx983 commented 1 year ago

Hmm, I'm not very familiar with git commands. If I want to switch the Carla Engine fork to d40ec35474e8793b4eea60dba6c4f051186e458e, is it as following two commands?

  1. git clone https://github.com/CarlaUnreal/UnrealEngine.git
  2. git checkout d40ec35474e8793b4eea60dba6c4f051186e458e

something goes wrong with me. It seems the whole Carla Engine project is too big in size, so I can't git it through 'git clone https://github.com/CarlaUnreal/UnrealEngine.git', is there any method to obtain 'd40ec35474e8793b4eea60dba6c4f051186e458e' ? In my opinoin, I need to know which fork name corresponding to 'd40ec35474e8793b4eea60dba6c4f051186e458e' , so I would be able to 'git clone -b fork_name url' to obtain it.

GustavoSilvera commented 1 year ago

Okay, try instead this command:

git clone https://github.com/GustavoSilvera/UnrealEngine -b fov-render --depth 1

This should work with 0.9.13 and only clone one commit.