blender-driving-scenario-creator icon indicating copy to clipboard operation
blender-driving-scenario-creator copied to clipboard

Open designed roads in CARLA

Open AMINTAHOUNI opened this issue 2 years ago • 2 comments

Hi Would you please explain how I can export the roads designed in blender driving scenario creator to Carla? which format should I export? I wanted to design my own road and then open it in the Carla simulator, then I wanted to add objects such as a vehicle, pedestrian, bicycle, and .. (in Carla) to generate my scenario.

AMINTAHOUNI avatar Jun 25 '22 08:06 AMINTAHOUNI

It is actually on my roadmap as well to try this out but I just haven't reached that point. But I guess we could either just load the xodr at runtime or we could bake the gltf or fbx into the CARLA executable. See the documentation here: https://carla.readthedocs.io/en/latest/core_map/#custom-maps

I believe currently CARLA does still not support runtime loading of gltf maps. I hope someone will add that feature at some point using one of the available Unreal gltf loader add-ons.

If you succeed in doing the import please provide a short report about the results here. If you discover issues related to the Blender add-on I can try to provide some fixes.

johschmitz avatar Jun 25 '22 08:06 johschmitz

Here is the other link for the OpenDRIVE standalone mode: https://carla.readthedocs.io/en/latest/adv_opendrive/#run-a-standalone-map

johschmitz avatar Jun 25 '22 08:06 johschmitz