build-carla-ue4
यह क्या करती है
यह स्किल Linux कंप्यूटर पर CARLA सिमुलेटर को उसके सोर्स कोड से शुरू से अंत तक बनाती है। यह उन तकनीकी लोगों के लिए है जिन्हें सिमुलेटर का कस्टम या अप्रकाशित बिल्ड चाहिए।
कब इस्तेमाल करें
- ✓जब आपको CARLA का ऐसा संस्करण चाहिए जो तैयार डाउनलोड के रूप में उपलब्ध नहीं है।
- ✓जब आप CARLA को मूल ROS 2 इंटरफ़ेस चालू करके बनाना चाहते हैं।
- ✓जब आप चल रहे सर्वर पर टेस्ट करके पक्का करना चाहते हैं कि बिल्ड काम करता है।
Skill का लिंक
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue4/build-carla-ue4/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप मेरी Linux मशीन पर CARLA को सोर्स से बना सकते हैं, Python क्लाइंट समेत, और पुष्टि कर सकते हैं कि सर्वर चलता है?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट हर हिस्से को क्रम से बनाता है, और जो हिस्सा पहले से मौजूद है उसे छोड़ देता है, फिर हर नतीजे की जाँच करता है। बिल्ड में इंजन, सिमुलेटर सर्वर और Python पैकेज शामिल हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Build CARLA ue4-dev on Linux (end-to-end)
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.
Builds CARLA from the ue4-dev branch (Unreal Engine 4.26) on Ubuntu
20.04 / 22.04 / 24.04. Each step is an idempotent script under scripts/;
the scripts ARE the procedure — running them in order performs and verifies the
build. Not for ue5-dev — that branch uses a different (CMake/CarlaSetup) build
system entirely (L1).
Scope
This skill compiles CARLA's source artifacts and proves them, nothing more:
- Engine (if needed) — the CarlaUnreal UE 4.26 fork →
UE4Editor(step 03). - Server (if needed) — the Carla editor C++ modules incl the server plugin
and CarlaTools, runnable uncooked via
-nullrhi(step 06,make CarlaUE4Editor). - PythonAPI (if needed) — LibCarla client + boost bindings → wheel installed into the active env (step 04).
- Launch (opt-in) — open the UE4 editor UI for interactive work
(
TARGET=launchon step 06,make launch).
Each build step is idempotent and skips when its artifact is already present
(FORCE=1 to rebuild). Two adjacent jobs are out of scope and delegated:
- Cooking/packaging a distributable
Dist/tarball → [[package-carla-ue4]] (make package). Do not cook here. - Running/serving the build (headless smoke-tests, windowed demos) → [[run-carla-server]]. Step 07 uses it to verify.
Full battle-log:
references/lessons.md— every non-obvious failure hit during this build, with root cause + fix. Read it before debugging.L#citations below point at it.
Instructions
Copy this checklist and track progress — the build is long and gated, so a skipped step usually surfaces an hour in:
Build Progress:
- [ ] Step 0: Check prerequisites (bash scripts/check_env.sh), clear FAILs
- [ ] Step 1: apt deps (sudo — real terminal) | Step 2: prepare Python client env
- [ ] Step 3: build the UE4 fork (engine) || Step 5: fetch content (parallel, long)
- [ ] Step 6: build the server — make CarlaUE4Editor (needs 3)
- [ ] Step 4: build PythonAPI + install wheel (needs 2+3)
- [ ] Step 7: verify — boot from-source server (run-carla-server) + generate_traffic.py (needs 4+5+6)
- [ ] (opt-in) Step 6 TARGET=launch: open the UE4 editor UI (make launch)
- [ ] (separate skill) cook a Dist/ package -> package-carla-ue4
Prerequisites
- Linux, x86_64. Ubuntu 20.04/22.04 supported; 24.04 works via the in-repo compat shim (see deltas below).
- ~120 GB free disk (UE4 ~80 GB + content ~31 GB + intermediate builds, L2).
- A CUDA-capable NVIDIA GPU (RTX-class) for the rendering server.
- A Python client env, active — venv, conda, or system; no manager is
assumed (mechanism in "Python client env" below). 3.10–3.12 all build on this
HEAD (L5's ">3.10 breaks" caveat is stale). No env yet? Create one, e.g.:
python3.12 -m venv ~/carla-client && source ~/carla-client/bin/activate # venv # or: conda create -y -n carla-ue4 python=3.12 && conda activate carla-ue4 - Epic-linked GitHub account — the UE4 fork is private to the Epic Games
org. Before step 03 the user MUST link their account
(https://www.unrealengine.com/en-US/ue-on-github) and be able to clone
https://github.com/CarlaUnreal/UnrealEngine.git(branchcarla). If that clone returnsrepository not found/403, the account is not linked — STOP and surface exactly this; nothing downstream can proceed.
Set the roots (scripts/env.sh resolves them, all overridable):
UE4_ROOT— the CarlaUnreal UE 4.26 fork checkout. No default — export it.CARLA_UE4_ROOT— the carlaue4-devsource checkout. Defaults to$PWDif it is a checkout, else a path-derived guess; export it otherwise.
Quick start
cd Skills/ue4/build-carla-ue4
source ~/carla-client/bin/activate # activate ANY compatible client env first
export UE4_ROOT=/path/to/UnrealEngine_4.26
export CARLA_UE4_ROOT=/path/to/carla # or run from inside the checkout
bash scripts/check_env.sh
bash scripts/01_install_deps.sh # sudo — run in a real terminal (L11)
bash scripts/02_client_env.sh &
bash scripts/03_build_ue4.sh & # long
bash scripts/05_fetch_content.sh & # long
wait
bash scripts/0
अक्सर पूछे जाने वाले सवाल
बिल्ड में कितना समय लगता है?
स्किल कोई तय समय नहीं बताती, पर बिल्ड में कई बड़े हिस्से हैं, इसलिए इसमें काफ़ी समय लग सकता है।
क्या ROS 2 बाद में चालू कर सकते हैं?
नहीं। ROS 2 सपोर्ट बिल्ड के समय चुनना होता है और बाद में नहीं जोड़ा जा सकता।
क्या यह Windows पर चल सकता है?
नहीं। स्किल Linux कंप्यूटरों के लिए लिखी गई है, खासकर वे Ubuntu संस्करण जो वह सूचीबद्ध करती है।
जानकारी
लेखक का मूल विवरण
Builds CARLA (branch ue4-dev, Unreal Engine 4.26) from source on Linux end-to-end — UE4 fork, the Carla server (editor C++ modules), the LibCarla Python client wheel, and content — then verifies them against a from-source server. Optionally builds the native ROS 2 interface in (ROS2=1 → --ros2, Fast-DDS/CycloneDDS/Zenoh), which is compile-time only and cannot be enabled later. Use when the user asks to "build CARLA from source", "compile CARLA ue4-dev", "set up CARLA on Ubuntu (incl. 24.04)", "build CARLA with ROS2 support", or "produce a CARLA server + client wheel". Cooking a distributable D
repo: carla-simulator/carla
लोकप्रियता
- GitHub स्टार
- 15k
- रैंकिंग में स्थान
- #11121
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
create-leaderboard-route
15kयह आपके एजेंट को CARLA Leaderboard की रूट फ़ाइल बनाने में मदद करती है, जिसमें वेपॉइंट और सीन ट्रिगर कैमरे से लगाए जाते हैं।
package-leaderboard-agent
15kयह आपके एजेंट को CARLA Leaderboard के लिए Docker इमेज बनाने में मदद करती है, और जाँचती है कि इमेज में एजेंट सही लोड होता है।
read-leaderboard-results
15kयह आपके एजेंट को CARLA Leaderboard की नतीजा फ़ाइल पढ़कर हर रूट का स्कोर समझाने और दूसरे नियम संस्करण में फिर से स्कोर करने में मदद करती है।
run-leaderboard-evaluation
15kयह आपके एजेंट को रूट के सेट पर CARLA Leaderboard मूल्यांकन चलाने में मदद करती है, शुरू करने से पहले सेटअप जाँचकर और चेकपॉइंट सेव करके।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।