import-carla-ue58-map
ما الذي تفعله
تشرح هذه المهارة كيفية إضافة خريطة طرق خاصة بك إلى محاكي CARLA على Unreal Engine 5.8، وتختار الطريقة الصحيحة لهدفك. وهي مخصصة لمن يريد مدينة أو تخطيط طرق مخصصًا للقيادة فيه.
متى تستخدمها
- ✓عندما تملك خريطة من ملفات FBX وOpenDRIVE وتريدها في بناء CARLA.
- ✓عندما تريد أن تُشحن الخريطة داخل خادم CARLA مُجمّع.
- ✓عندما لا تملك إلا ملف طرق OpenDRIVE وتريد تجربته بسرعة دون بناء أي شيء.
رابط المهارة
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue58/import-carla-ue58-map/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل يمكنك مساعدتي في اختيار الطريقة الصحيحة لإدخال خريطة الطرق الخاصة بي إلى CARLA على Unreal 5.8؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يقارن الوكيل الخيارات الأربعة وما تحتاجه كل منها، ثم يوجهك إلى الخيار المناسب. ويشرح أين تنتهي الملفات المستوردة، وكيف تُدمج الخريطة المقسمة إلى بلاطات في خريطة واحدة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من 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
الأسئلة الشائعة
ما أسرع خيار؟
تحميل ملف 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
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
create-leaderboard-route
15kيساعد وكيلك على بناء ملفات مسارات CARLA Leaderboard بوضع نقاط الطريق ومحفزات السيناريوهات من كاميرا المحاكي، ثم فحصها وترتيبها.
package-leaderboard-agent
15kيساعد وكيلك على تغليف وكيل قيادة في صورة Docker لتقديمه إلى CARLA Leaderboard، مع فحص بنية المجلدات واختبار أن الصورة تحمّله.
read-leaderboard-results
15kيساعد وكيلك على قراءة ملف نتائج CARLA Leaderboard، وشرح درجة كل مسار ومخالفاته، وإعادة احتساب التشغيل بقواعد النسخة الأخرى.
run-leaderboard-evaluation
15kيساعد وكيلك على تشغيل مقيّم CARLA Leaderboard على مجموعة مسارات مع وكيل قيادتك، بفحص الإعداد أولًا وحفظ نقاط يمكن استئناف التشغيل منها.
مهارات مشابهة
diffs
394kيتيح لوكيلك إنتاج فرق تعديلات حقيقي يمكن مشاركته، كرابط عرض أو ملف صورة، بدلاً من ملخص مكتوب يدوياً.
coding-agent
394kيساعد وكيلك على تسليم مهمة برمجة كبيرة إلى Codex أو Claude Code أو OpenCode كعامل في الخلفية، ثم متابعة تقدمها.
gh-issues
394kيساعد وكيلك على إيجاد مشكلات GitHub واختيار ما ستعمل عليه، وفتح طلبات سحب بالإصلاحات، ومتابعة تعليقات المراجعة.