본문으로 건너뛰기
Skillpedia
일반 코딩15k · #11131

import-carla-ue58-map

하는 일

이 스킬은 Unreal Engine 5.8의 CARLA 시뮬레이터에 나만의 도로 지도를 추가하는 방법을 설명하고, 목표에 맞는 방법을 고릅니다. 달릴 맞춤 도시나 도로 구조를 원하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓FBX와 OpenDRIVE 파일로 만든 지도가 있고, 이를 CARLA 빌드에 넣고 싶을 때.
  • ✓지도를 패키지된 CARLA 서버 안에 함께 배포하고 싶을 때.
  • ✓OpenDRIVE 도로 파일만 있고, 아무것도 빌드하지 않고 빠르게 시험하고 싶을 때.

스킬 링크

https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue58/import-carla-ue58-map/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue58/import-carla-ue58-map/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 맞춤 도로 지도를 Unreal 5.8의 CARLA에 넣는 방법 중 무엇이 맞는지 골라 줄 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 네 가지 방법과 각각 필요한 것을 비교한 뒤, 맞는 방법으로 안내합니다. 가져온 파일이 어디에 놓이는지, 타일로 나뉜 지도가 어떻게 하나로 합쳐지는지도 설명합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Get a map into CARLA on UE 5.8

Paths. scripts/… and references/… below are relative to the directory holding this SKILL.md. Your working directory is the user's project, not that directory, so prefix them with its absolute path or the command is not found.

Four different things get called "adding a map", and picking the wrong one wastes hours. They are not variations of one procedure:

Route What you need Build step Result
A. Cook into a package the map already in Content package target, 1–2 h map ships inside the .pak
B. Import into a source build .fbx + .xodr editor commandlets, minutes map in Content, usable in the editor
C. OpenDRIVE at runtime just a .xodr none procedural road mesh, no scenery
D. Standalone asset package — — does not exist on ue58-dev

Route D is the UE4 make package ARGS="--packages=Name" flow, and it is gone in both directions — nothing builds such a package and nothing installs one. The docs that described it (tuto_A_create_standalone.md, tuto_M_add_map_package.md) are absent from this tree: Docs/maps_tutorials.md and Docs/custom_assets_tutorials.md link to 10 files that do not exist. Do not plan around it — the section below lists this and the three other UE4 capabilities with no ue58 equivalent.

What the UE4 skill does that this one cannot

Read this before promising a user anything the UE4 flow could do. Four capabilities of [[import-carla-map]] have no equivalent on ue58-dev, all verified against both trees:

UE4 capability UE4 mechanism ue58 state
Build a standalone, distributable asset package Util/BuildTools/Package.sh --packages=Name1,Name2 gone — no Package.sh; the only targets are whole-server (package, packageShipping, packageDebug, packageDebugGame, packageDevelopment, packageTest, Unreal/CMakeLists.txt:546-551), scoped only by CARLA_MAPS_TO_COOK
Install such a package into an existing release Util/ImportAssets.sh, shipped at the release root gone — a built ue58 package root holds only CHANGELOG LICENSE Linux PythonAPI README Tools VERSION
Tag materials so imported geometry is segmented -run=GenerateTaggedMaterialsRegistry -PackageNames=…, run by Package.sh per package gone — the commandlet exists in 2 UE4 plugin files and 0 here, so semantic_tags comes back empty on imported assets ([[import-carla-ue58-prop]] hits the same wall)
Generate the pedestrian navmesh on import Util/DockerUtils/dist/ ships RecastBuilder; build.sh runs FBX2OBJ then RecastBuilder silently does nothing — see below

The navmesh gap is silent, and it is the one that bites

Import.py:487 build_binary_for_navigation shells out to Util/DockerUtils/dist/build.sh, whose every step is guarded:

if [ -f "FBX2OBJ" ]; then …
if [ -f "RecastBuilder" ]; then …

UE4 ships RecastBuilder in that folder. ue58's dist/ contains only addOBJ.py, build.bat, build.sh, get_xodr_crosswalks.py. CMake does build RecastBuilder — to Build/<preset>/_deps/recastnavigation-build/RecastBuilder/ and into packages as Tools/RecastBuilder — but nothing copies it into dist/, and no CMake target references DockerUtils at all. FBX2OBJ has its own Util/DockerUtils/fbx/CMakeLists.txt that the main build never adds, and no binary exists under Build/. So the import runs, exits 0, writes no .bin, and walkers cannot navigate the new map — with no warning anywhere.

Work around it by putting both binaries where build.sh looks:

cp "$(find "${CARLA_UE58_ROOT}/Build" -name RecastBuilder -type f | head -1)" \
   "${CARLA_UE58_ROOT}/Util/DockerUtils/dist/"
# FBX2OBJ must be built first: it is a standalone CMake project needing the FBX SDK
# cmake -S Util/DockerUtils/fbx -B /tmp/fbx2obj && cmake --build /tmp/fbx2obj

Route C is unaffected. CarlaEpisode.cpp:45 BuildRecastBuilderFile() prefers <RootDir>/Tools/RecastBuilder and falls back to the compiled-in RECASTBUILDER_PATH, so a runtime OpenDRIVE world gets its navmesh properly.

What is NOT missing

Util/Tools/Import.py is UE4's Util/BuildTools/Import.py with paths renamed — the whole diff is 24 lines (UE4_ROOT→CARLA_UNREAL_ENGINE_PATH, UE4Editor→UnrealEditor, CarlaUE4→CarlaUnreal, is not→!=, two imports). Every function is identical, and the thr

자주 묻는 질문

가장 빠른 방법은 무엇인가요?

실행 중에 OpenDRIVE 파일을 불러오는 방법은 빌드가 필요 없지만, 도로 모양만 있고 주변 배경은 없습니다.

독립형 지도 패키지가 있나요?

아니요. 스킬은 이 브랜치에는 그 방법이 없다고 설명합니다.

타일로 나뉜 지도도 쓸 수 있나요?

네. 스킬은 타일로 내보낸 지도를 스트리밍할 수 있는 하나의 지도로 합치는 방법을 설명합니다.

상세 정보

작성자의 원본 설명

Gets a custom map into CARLA on UE 5.8 — the four distinct routes and which one to pick — via Util/Tools/Import.py for FBX+OpenDRIVE assets into a source build, CARLA_MAPS_TO_COOK to ship a map inside a package, or client.generate_opendrive_world() for an OpenDRIVE-only map at runtime with no build at all. Covers where imported assets land, how a tiled export is merged into one streamable map and converted to World Partition, and the capabilities the UE4 skill has that ue58 lacks — standalone asset packages, their installer, semantic-material tagging, and a pedestrian navmesh that is generated

repo: carla-simulator/carla

인기도

GitHub 스타
15k
순위
#11131
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬