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

make: *** No rule to make target 'carla'. Stop. - DReyeVR Installation #7

Closed
Shroculus opened this issue Feb 17, 2022 · 4 comments
Closed

Comments

@Shroculus
Copy link

Hello team,

CARLA version: 0.9.13

Platform/OS: Windows 10 (Version 21H2)

Problem you have experienced: When I try to install the DReyeVR in the WSL using the command make carla CARLA=../carla it throws an error as shown below in the screenshot.

image

Steps to reproduce:

  1. I previously had a working 0.9.13 Carla with Unreal 4.26 installed and working successfully. (All three make PythonAPI, make launch and make check executed without any errors)
  2. I have the SteamVR installed and use HTC Vive eye Pro for eye tracking.
  3. Enabled the SteamVR in UE4 as shown in the screenshot below:

image

  1. Currently concentrating on only Logitech Steering Wheel (I have Logitech 920 which is installed and works fine) so SRanipal is not downloaded or setup. But the Logitech Wheel Plugin is cloned and moved to the Carla Plugin folder and the plugin folder looks as below.

image

  1. Installing DReyeVR is the step causing the problem. I have Ubuntu installed and I am at the Carla root folder to execute the command (make carla CARLA=../carla) which throws the error "make: *** No rule to make target 'carla'. Stop.".

  2. I have git installed with the necessary environmental variable path.

image

image

Could you please help me with where I am going wrong and how to move forward with the installation?

I very much appreciate any help. Thank you in advance.

@GustavoSilvera
Copy link
Collaborator

GustavoSilvera commented Feb 17, 2022

Hi, you need to run the make carla CARLA=../carla script in the DReyeVR directory, not the Carla directory.

So for example, I assume you cloned both DReyeVR and carla and have a file structure like this:

DReyeVR/
carla/
scenario_runner/

so if you go to the DReyeVR directory and run make carla CARLA=../carla (or make all CARLA=../carla SR=../scenario_runner)will find the correct carla installation.

Technically you could also simply run make carla CARLA=/PATH/TO/CARLA without being a relative path.

(Also, you don't need to run make with sudo, as its just moving files around)

@Shroculus
Copy link
Author

Shroculus commented Feb 17, 2022

@GustavoSilvera Thank you for your prompt response. I was able to successfully launch the DReyeVR. However, when execute the below command only the logitech steering wheel/pedals work but cannot view anything in my HTC Vive eye pro. I have the SteamVR plugin enabled and also HTC vive pro setup and detected through steam VR as shown below:

image

cd \PATH\TO\CARLA\Build\UE4Carla\0.9.13-dirty\WindowsNoEditor
CarlaUE4.exe -vr

I have set the SRanipal to false, but think that should not impact playing the DReyeVR's VR mode capabilities since it is purely for the eye tracking.

Also, I launched the editor through make launch and I don't see the VR preview enabled.

image

Edit: The DReyeVR when launched now with -vr works only through keyboard and steering wheel/pedals don't work. But without -vr the steeringwheel/pedals work.

Thank you for your help in advance.

@GustavoSilvera
Copy link
Collaborator

GustavoSilvera commented Feb 17, 2022

Ok, I sometimes also get the grayed out VR Preview selection when I start UE4 before opening SteamVR. Usually my workflow is to start SteamVR first, and leave it running, then it should pick up a new CarlaUE4.exe -vr or editor instance. Maybe try rebooting your pc and starting SteamVR first, then launch Carla+DReyeVR again with CarlaUE4.exe -vr once it is packaged.

You can check if DReyeVR has detected the SteamVR device by checking the logs (in the Engine you can get to the logs in realtime via Window -> Developer Tools -> Output Log), when you press play, you should see a log entry for whether or not the HMD was detected by DReyeVR:

# is detected
LogTemp: HMD detected: SteamVR, version 4.26.2-0+++UE4+Release-4.26, Driver: lighthouse, Serial: XYZ, HMD Device: HTC VIVE_Pro MV, Driver version: TrackedProp_UnknownProperty

# not detected
LogTemp: Warning: No head mounted device detected!

Also to find these logs afterwards in text form, you'll want to look in PATH\TO\CARLA\Unreal\CarlaUE4\Saved\Logs\CarlaUE4.log

Edit:
Also, there have been several recent bugfixes regarding the combined logitech + keyboard (conflicting) inputs in the latest merge to DReyeVR which occured this week. Make sure you're on the latest version of main via a git pull.

@Shroculus
Copy link
Author

@GustavoSilvera Thanks again, this has been very helpful. I was able to Setup the DReyeVr in VR mode and also drive using steeringwheel/pedals.

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