Skip to content
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

Create custom maps in CARLA 0.10.0 #8624

Open
Cabba opened this issue Jan 31, 2025 · 3 comments
Open

Create custom maps in CARLA 0.10.0 #8624

Cabba opened this issue Jan 31, 2025 · 3 comments

Comments

@Cabba
Copy link

Cabba commented Jan 31, 2025

Hi,

I'm trying to create a custom map for CARLA 0.10.0 and I'm running into some issues. I was looking at the online documentation, specifically this section: https://carla-ue5.readthedocs.io/en/latest/maps_tutorials/

Unfortunately, all the links within this section appear to be broken, making it impossible for me to follow the tutorial.

Therefore, I have the following questions:

  • What is the recommended procedure for building a new CARLA map from scratch using the latest CARLA version (0.10.0)? I'm looking for the most up-to-date and efficient workflow. Any guidance, links to tutorials, or example files would be greatly appreciated.

  • Is RoadRunner compatible with the latest CARLA release (0.10.0)? If so, are there any specific considerations or best practices I should be aware of when using RoadRunner to create maps for CARLA 0.10.0?

Thank you for your assistance.

@PatrickPromitzer
Copy link

Hi,
the broken links comes from the documentation of the UE4 version. The UE5 documentation is still work-in-process.
https://carla.readthedocs.io/en/latest/maps_tutorials/

Currently, there is no procedure for building a custom Carla map with Carla 0.10.0
I have ideas how you can create an custom Carla map, but you don't have an import script, template map, or other parts to give you a working base map with a few simple steps.

The files RoadRunner is exporting are

  • openDRIVE: Road data
  • Filmbox: Model data (objects, texture, ...)

Unreal Engine is supporting *.fbx (Filmbox) files,and therefor still work with the files from RoadRunner.

If you want to create an custom Map and don't want to wait, you could do the following.

  • Make a copy of the working Town10 map
  • rename the copy to a custom name (your custom map)
  • remove all actors/objects from the custom map (make sure to not delete non object files like sky)
  • import the .fbx file in Unreal Engine
  • add the map object of the .fbx file in your custom map

I didn't try if it works, but it would be worth a shot,

@timmao955
Copy link

I tried to build a new map on CARLA 0.10.0 but failed. Unfortunately, it seems like that CARLA 0.10.0 doesn't support to build additional maps package. Instead, I find some methods, which might be a bit complicated.

  • As the above said, copy the Town10HD_Opt map in CARLA 0.10.0 and remove most of the blueprints
  • Use the RoadRunner to export the .xodr file, and there's a plugin https://github.com/brifsttar/OpenDRIVE.git that can help you to project the .xodr net in UE
  • You can create your custom map with additional blueprints (or using .fbx file) based on this plugin in UE
  • Don't forget to reserve some default actors in CARLA 0.10.0, like VehicleSpawnPoint, OpenDriveActor, e.g.

I tried this method and it works, but it's still under development

@Cabba
Copy link
Author

Cabba commented Feb 11, 2025

Thanks for the reply! We'll try the methods you suggested. Do you happen to know if there's an official CARLA roadmap available for future releases? And if a better map creation workflow is under development?

@timmao955 in your method is RoadRunner used only to generate the .xodr file? You think it is possible to export .xodr files from other tools and use custom assets (like assets from https://fab.com or similar websites) to generate the map without the use of RoadRunner?

Thank you for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants