import-carla-ue58-map
Fungsinya
Skill ini menjelaskan cara menambahkan peta jalan Anda sendiri ke simulator CARLA pada Unreal Engine 5.8, dan memilih metode yang tepat untuk tujuan Anda. Untuk orang yang menginginkan kota atau tata letak jalan kustom untuk dikemudikan.
Kapan dipakai
- βSaat Anda punya peta yang dibuat dari file FBX dan OpenDRIVE dan ingin memasukkannya ke build CARLA.
- βSaat Anda ingin peta dikemas di dalam server CARLA yang sudah dipaketkan.
- βSaat Anda hanya punya file jalan OpenDRIVE dan ingin mencobanya dengan cepat tanpa membangun apa pun.
Link skill
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue58/import-carla-ue58-map/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBisakah Anda membantu saya memilih cara yang tepat untuk memasukkan peta jalan kustom saya ke CARLA pada Unreal 5.8?β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent membandingkan keempat opsi dan apa yang dibutuhkan masing-masing, lalu memandu Anda melalui opsi yang sesuai. Agent menjelaskan di mana file yang diimpor berakhir dan bagaimana peta berubin digabung menjadi satu.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Get a map into CARLA on UE 5.8
Paths.
scripts/β¦andreferences/β¦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
Pertanyaan umum
Opsi tercepat yang mana?
Memuat file OpenDRIVE saat runtime tidak memerlukan build sama sekali, tetapi hanya memberi bentuk jalan tanpa pemandangan.
Apakah ada paket peta mandiri?
Tidak. Skill menyatakan opsi ini tidak ada pada cabang ini.
Bisakah peta berubin digunakan?
Bisa. Skill menjelaskan cara ekspor berubin digabung menjadi satu peta yang dapat di-streaming.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 15k
- Peringkat
- #11131
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
create-leaderboard-route
15kMembantu agent Anda membuat file rute CARLA Leaderboard dengan menempatkan waypoint dan pemicu skenario dari kamera simulator, lalu memeriksa dan mengurutkannya.
package-leaderboard-agent
15kMembantu agent Anda memaketkan agent mengemudi ke dalam image Docker untuk pengiriman CARLA Leaderboard, dengan memeriksa tata letak folder dan menguji bahwa image memuatnya.
read-leaderboard-results
15kMembantu agent Anda membaca file hasil CARLA Leaderboard, menjelaskan skor dan pelanggaran setiap rute, dan menilai ulang sebuah run dengan versi aturan lain.
run-leaderboard-evaluation
15kMembantu agent Anda menjalankan evaluator CARLA Leaderboard pada sekumpulan rute dengan agent mengemudi Anda, memeriksa pengaturan terlebih dahulu dan menyimpan checkpoint yang bisa dilanjutkan.
Skill serupa
diffs
394kMemungkinkan agent Anda menghasilkan diff perubahan yang nyata dan dapat dibagikan sebagai tautan viewer atau file gambar, bukan ringkasan yang ditulis manual.
coding-agent
394kMembantu agent Anda menyerahkan pekerjaan pemrograman besar ke Codex, Claude Code, atau OpenCode di latar belakang, lalu memeriksa kemajuannya.
gh-issues
394kMembantu agent Anda menemukan issue GitHub, memilih yang dikerjakan, dan membuka pull request perbaikan, termasuk tindak lanjut komentar tinjauan.