carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.11k stars 3.58k forks source link

New maps with road construction zone: How to generate reference routes manually? #3084

Closed bosu3076 closed 3 years ago

bosu3076 commented 4 years ago
Hello guys. I'm trying to make new maps with some road constructions, that means I need to generate the routes by myself, since the automatically generated routes by OpenDRIVE Actor in UE4 could not be used. However, I tried RoutePlanner tool, I am quite confused about how does it work. ![Bildschirmfoto vom 2020-07-20 16-02-08](https://user-images.githubusercontent.com/59999696/87948369-e560e000-caa4-11ea-9bd5-b6eca35daf57.png) In this example, I drew a number of routes with RoutePlanner- the white splines, and kept some default routes- red ones, which were generated automatically by OpenDRIVE Actor. My problems are: 1. Why the default and self-defined route look different? Is there anything I set wrong? 2. Those routes could not be followed by the vehicles with autopilot. The documentation about Traffic Manager has no description of this part. I wonder whether the Traffic Manager could be used in this kind of situation. Version Infos: -Ubuntu 16.04 -Carla 0.9.8 -Unreal Engine 4.22 -RoadRunner 2020a Thank you!
germanros1987 commented 4 years ago

@marcgpuig do you have some cycles to help with a simple explanation of the RoutePlanner and/or the OpenDRIVE Actor?

XieJinLiang commented 4 years ago

What software are you using? roadrunner? Why does the interface look different from my roadrunner?

bosu3076 commented 4 years ago

What software are you using? roadrunner? Why does the interface look different from my roadrunner?

Hi, actually this is a screenshot of Unreal Engine 4 https://www.unrealengine.com/en-US/. I have imported the fbx-files into UE4 and want to edit them with Carla plugins. However, it doesn't work well. These days I changed my plan generating routes directly in Roadrunner.

marcgpuig commented 4 years ago

Hi @bosu3076, sadly this is not possible within Unreal Engine, we strongly rely on OpenDRIVE right now to retrieve information from the road. The RoutePlanners and the OpenDRIVE Actor are not used anymore but for automatically placing the spawn points and visualizing the shape of the used OpenDRIVE. You need to do everything with RoadRunner.

stale[bot] commented 3 years ago

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.

LucasFKobernic commented 3 years ago

hello @bosu3076

How do you generate routes on the roadrunner? I created a simple map, but in some lanes the OpenDrive Actor is not creating the routes (RoutePLanner). I'm wondering if I'm skipping any steps in creating the map in roadrunner.

I tried to create the route manually in CARLA, but when I try to generate a vehicle with behaviour_agent, I'm getting an error. I think he is not recognizing the route I created.

ehsankf commented 9 months ago

How could we add work zone construction to the existing maps?