You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to import an XODR file(without .fbx file) into the CARLA simulator, use CARLA to Automatically generate corresponding static assets for the road network, and then use it in a level to represent roads then adding other components. However, I have encountered some issues:
**1:**I compiled the simulator locally following the latest official CARLA build documentation, so my version is likely 0.9.14 (though I'm not entirely sure). Referring to https://carla.readthedocs.io/en/0.9.7/how_to_make_a_new_map/, I added an XODR file to carla\Unreal\CarlaUE4\Content\Carla\Maps\OpenDrive and opened the existing level OpenDriveMap in the UE4 Editor under carla/maps. Then, I dragged the OpenDrive Actor into this empty level, but when I clicked "Play" I couldn't see the generated road network assets in the window. However, when I directly modified the carla\Unreal\CarlaUE4\Content\Carla\Maps\OpenDrive\OpenDriveMap.xodr file and Play Content\Carla\Maps\OpenDriveMap, I could see the imported road network's generate road network in the window. But it seems the road network generation is related to the OpenDrive Generator in the level rather than the OpenDrive Actor? For my version, is the method described in the 0.9.7 documentation correct?
**2.**I asked a classmate who previously worked on something similar, and he confirmed that his approach was to place the XODR file in PythonAPI/util/opendrive and then run PythonAPI/util/config.py -x opendrive/filename.xodr, or carry it out in the same way and with similar instructions. He was certain that after using this method, he could obtain a level/blueprint/asset (unsure which) in the UE4 Editor containing the generated road network mesh from the XODR file and then import it into another level with other elements he added, but he has forgotten the specific content of this job. I tried replicating this method, but after running the command, I could only see the loaded map in the runtime window and couldn't find any generated content in the project. It seems that the mesh of the road network is only generated during Play and not saved after it is ended, but it seems that there's a way to save the road network mesh generated as asset and then use it in other level. Can similar command actually accomplish this task?
**3.**I used the osm2xodr library to generate some XODR files. When I directly modified the XODR file using Method 1 mentioned above, simple single-road files could be displayed in CARLA, but road networks with multiple junctions failed to render correctly. What could be the possible reasons for this issue?
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
I want to import an XODR file(without .fbx file) into the CARLA simulator, use CARLA to Automatically generate corresponding static assets for the road network, and then use it in a level to represent roads then adding other components. However, I have encountered some issues:
**1:**I compiled the simulator locally following the latest official CARLA build documentation, so my version is likely 0.9.14 (though I'm not entirely sure). Referring to https://carla.readthedocs.io/en/0.9.7/how_to_make_a_new_map/, I added an XODR file to carla\Unreal\CarlaUE4\Content\Carla\Maps\OpenDrive and opened the existing level OpenDriveMap in the UE4 Editor under carla/maps. Then, I dragged the OpenDrive Actor into this empty level, but when I clicked "Play" I couldn't see the generated road network assets in the window. However, when I directly modified the carla\Unreal\CarlaUE4\Content\Carla\Maps\OpenDrive\OpenDriveMap.xodr file and Play Content\Carla\Maps\OpenDriveMap, I could see the imported road network's generate road network in the window. But it seems the road network generation is related to the OpenDrive Generator in the level rather than the OpenDrive Actor? For my version, is the method described in the 0.9.7 documentation correct?
**2.**I asked a classmate who previously worked on something similar, and he confirmed that his approach was to place the XODR file in PythonAPI/util/opendrive and then run PythonAPI/util/config.py -x opendrive/filename.xodr, or carry it out in the same way and with similar instructions. He was certain that after using this method, he could obtain a level/blueprint/asset (unsure which) in the UE4 Editor containing the generated road network mesh from the XODR file and then import it into another level with other elements he added, but he has forgotten the specific content of this job. I tried replicating this method, but after running the command, I could only see the loaded map in the runtime window and couldn't find any generated content in the project. It seems that the mesh of the road network is only generated during Play and not saved after it is ended, but it seems that there's a way to save the road network mesh generated as asset and then use it in other level. Can similar command actually accomplish this task?
**3.**I used the osm2xodr library to generate some XODR files. When I directly modified the XODR file using Method 1 mentioned above, simple single-road files could be displayed in CARLA, but road networks with multiple junctions failed to render correctly. What could be the possible reasons for this issue?
The text was updated successfully, but these errors were encountered: