-
Notifications
You must be signed in to change notification settings - Fork 40
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
Camera doesn't move with car while running DreyeVR_AI.py #14
Comments
Hi @aureliuszi, you are right, this does happen when you switch which "pawn" is possessing the EgoVehicle at a time. I imagine you pressed This is due to the camera in "autopilot-mode" being fixed relative to the world's rotation, rather than the vehicle's rotation. We are aware of this bug and are working on a fix in the next update :) |
Also, to clarify, the camera does still "move" translation-wise with the vehicle correct? It is just the rotation of the camera that is not following the vehicle. |
That's correct! I am "moving" with the car, but not rotating with it. |
@aureliuszi @ethicallab would you mind trying out the latest commit in the |
Hi @GustavoSilvera! To clarify, I would have to: reclone the DreyeVR repo; rerun the |
Hi @aureliuszi from the DReyeVR repo you can simply Caution, running |
Ran everything. Got this error on
|
Uh oh, this is a new one. Try |
I think it might require that you build the editor ( |
Hmmm, just tried
|
I'm going to try cleaning everything and rebuilding. |
It's a similar error - I ran
|
Very strange. Can you upload the full log for make launch? |
Where is the log? Just the stuff in the x64 prompt? |
Yes, you can right click the titlebar of the cmd prompt to select all and copy it into a txt |
Here you go, the stuff that printed after |
Oh I see the error, it is specifically this |
This would also be fixed by recloning |
That was very fast, thank you! Things appear to be building now and I'll have an update for you shortly. |
So
|
You can see the contents of
|
Interesting, is this |
These scripts are designed to be run in bash (eg. |
|
Yeah, run the |
Interesting, can you check that the SteamVR plugin is installed and enabled in the project? |
Fixed, it was a problem on Steam's End (the SteamVR plugin was installed). Restarting my computer stopped it from glitching. Additionally, in VR, the camera now stays where I first put it! Thank you so much for your help on this :D |
Thanks so much! Appreciated! |
Hey, @aureliuszi please check out the upgrading-DReyeVR section of the documentation to pull from |
Hello Gustavo (and DReyeVR team)!
The camera of DReyeVR_AI.py does not seem to move with the car.
I am running both the 2D and VR version of DReyeVR with the following commands:
CarlaUE4.exe OR CarlaUE4.exe -vr
python DReyeVR_AI.py
Here is the output after the python command:
WARNING: Version mismatch detected: You are trying to connect to a simulator that might be incompatible with this API
WARNING: Client API version = 0.9.13
WARNING: Simulator API version = 0.9.13-1-g8854804f4-dirty
INFO: Found the required file in cache! Carla/Maps/TM/Town03.bin
Successfully set autopilot on ego vehicle
successfully spawned 10 vehicles
Below is an image of what I see as the car turns without repositioning myself. I have to physically move my body/ the camera in order to see the front of the car again.
The text was updated successfully, but these errors were encountered: