-
Notifications
You must be signed in to change notification settings - Fork 62
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
Map loading problem for Unreal #2
Comments
What version of Unreal do you use? I use UE 4.22.3 according to this guide. And then I launch the CarlaUE4 editor according to this to edit the map. |
@JunweiLiang Thank you for your reply. Because I tried to edit your provided maps and I just imported them in CarlaUE4 Editor. I changed the project settings and linked all the assets from your provided source code. Now it worked on 4.22.3. And I have a little question, you said that "In the UE4 editor, I simply duplicate existing CARLA map first (Town05 and Town03), and then edit them to look like the ActEV or ETHUCY videos. "(Section: Edit the maps) |
Could you provide detailed steps on how you link the assets in the CarlaUE4 Editor to make it work? This would be useful. Thanks. The way I did was to project the trajectories from the real-world videos into the 3D scene (follow this guide) and use that as another reference other than looking at the video itself. So if a person is walking straight along the sidewalk in the real-world video, I would make sure to place the sidewalk in CarlaUE4 such that the agent is also walking straight along the sidewalk in Carla. In fact, I had to make the maps, start the Carla server, and found something that I was not satisfied, and then went back to edit the map again a couple of times. But still, in terms of the re-created static scenes, they are not pixel-accurately reconstructed from the real-world videos. All the annotated scenarios are manually checked to ensure they are reasonable, though. A better way would be using a good semantic segmentation model to get a smoothed segmentation map, transforming it to the ground plane, and then somehow automatically putting it in CaralaUE4 (I don't know how). |
@JunweiLiang So the static buildings in 3D environment weren't calculated based on the homography matrics? They were just checked manually? |
Thanks. That is very helpful. Closing this issue now. No, the static buildings, grass, sidewalks, roads, trees, etc., are manually checked only. The trajectories of person and vehicles are transformed based on homography matrics. |
Just a follow-up on automatic static scene generation. I recently came across the following two papers:
According to these two papers, you can use a scene-graph-like grammar to automatically generate UE4 static scene with the UE4 scene generator. |
@JunweiLiang You introduced how to import the data of Actev into Carla in "Recreate Scenarios from Real-world Videos". But I only can see the trajectories of ETH&UCY in pixels, but not in real-world in directory "final_annos/ucyeth_annos/". Can you tell me where they are? Thank you. |
The trajectories in world coordinates are under |
I have updated the instructions for ETH/UCY. Some calibrations of the coordinates are needed. Also I have noticed that your ZARA scene is missing a static vehicle: |
@JunweiLiang Thank you for your reminding. I tried the proposed calibrations parameters of ETH&UCY. I found that it is inconsistent between all the trajectories ( in ETH, ZARA, and HOTEL) and the direction of the scenario. It looks like that the scenario is rotated by a certain angle. I want to confirm that are there any errors in the parameters provided? |
Did you encounter the same problem for ActEV and Town5_actev? I'll test it this weekend. |
The walking directions in Town5_actev seem right. Thank you. |
Hi, the calibration parameters are correct. Steps to reproduce:
Now you should be looking with the ZARA camera:
Now you should see something like this:
And the trajectories in To spawn the pedestrians from frame 0 to 200, do:
You should see this with a lot of collisions: Let me know how you got the above incorrect trajectories. |
Have you solved this problem? Thank you |
Hi,
I tried to load your provided map (Town03_ethucy and Town05_actev) in unreal but failed. It only showed a warning "Failed to open map file. It may be because the map uses a newer version of the engine for saving". Actually, I used the same version and could load any other map provided in Carla. Could you please tell me how to fix this problem?
Thank you for your help.
The text was updated successfully, but these errors were encountered: