run-carla-ue58-server
यह क्या करती है
यह स्किल Unreal Engine 5.8 पर बने CARLA सिमुलेटर सर्वर को शुरू करती है, ताकि आपके प्रोग्राम उससे जुड़ सकें। यह उन सभी के लिए है जिन्हें बिना स्क्रीन के टेस्ट के लिए सिमुलेटर चाहिए।
कब इस्तेमाल करें
- ✓जब आप बिना विंडो खोले टेस्ट के लिए नया CARLA सर्वर चलाना चाहते हैं।
- ✓जब आपके पास पैक किया हुआ CARLA बिल्ड है और उसे शुरू करना है।
- ✓जब आपको जाँचना है कि पहले से चल रहा सर्वर जवाब दे रहा है या नहीं।
Skill का लिंक
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue58/run-carla-ue58-server/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप मेरा CARLA Unreal 5.8 सर्वर बिना विंडो के शुरू कर सकते हैं, और मेरा कोड जुड़ने से पहले जाँच सकते हैं कि वह जवाब देता है?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट सर्वर चलाने के तीन तरीकों में से एक चुनता है, उसे शुरू करता है, और तैयार होने तक इंतज़ार करता है। वह चल रहे सर्वर की जाँच भी कर सकता है और उसे ठीक से बंद कर सकता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Run a CARLA UE 5.8 server
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.
Three ways to get a server, and the choice matters more than on UE4:
| Mode | What it is | Use it when |
|---|---|---|
game |
the editor binary with -game |
default. Full client support, every map in the tree |
package |
Build/<preset>/Package/.../CarlaUnreal.sh |
shipping a build; only the cooked maps exist, see below |
editor |
the full editor GUI | authoring, visual debugging |
There is a fourth thing that looks like the answer and is not:
Unreal/CarlaUnreal/Binaries/Linux/CarlaUnreal, the uncooked Development game
target. It cannot start — it is built to load cooked content and the tree has
none, so it dies on the missing global shader cache. nurec/README.md recommends
it anyway. Use game mode instead.
Instructions
Progress:
- [ ] Step 1: Check prerequisites (bash scripts/check_env.sh)
- [ ] Step 2: See what is runnable (detect)
- [ ] Step 3: Start it
- [ ] Step 4: Probe it before running your real client
- [ ] Step 5: Stop it
Step 2-3: Start
source scripts/env.sh
bash scripts/run_server.sh detect
# the normal case: headless, backgrounded, waits until the RPC port answers
DETACH=1 bash scripts/run_server.sh game Town10HD_Opt
# with native ROS 2
DETACH=1 ROS2=1 bash scripts/run_server.sh game Town10HD_Opt
# the packaged server
DETACH=1 bash scripts/run_server.sh package Town10HD_Opt
# a second server alongside the first
PORT=3000 DETACH=1 bash scripts/run_server.sh game
| Knob | Effect |
|---|---|
DETACH=1 |
background it and wait for the RPC port; log to /tmp/carla-ue58-<port>.log |
PORT / TM_PORT |
RPC port (streaming is PORT+1); default 2000 / 8000 |
ROS2=1 |
append -ros2; needs a build with ENABLE_ROS2=ON |
RMW= |
fastdds (default), cyclonedds, zenoh |
ROS_DOMAIN_ID= |
must match the subscriber side |
WINDOW=1 |
render to a window instead of offscreen; implies -notrace |
TRACE=1 |
keep UnrealTrace enabled under WINDOW=1 |
RES=WxH |
window size, WINDOW=1 only (e.g. RES=1920x1080) |
FULLSCREEN=1 |
exclusive fullscreen, WINDOW=1 only; default is -windowed |
NULLRHI=1 |
no RHI at all — see the warning below |
QUALITY=Low |
-quality-level=Low |
EXTRA= |
anything else |
DETACH=1 is not a convenience. A plain trailing & leaves the server
holding the shell's stdio; when that goes away it dies with
close: Bad file descriptor and then Signal 11. The script uses
setsid nohup … </dev/null &.
Filling the screen (and why not -fullscreen by default)
WINDOW=1 alone leaves the window at whatever size the engine picks. To fill a
display, give it the size and leave it a normal window:
WINDOW=1 RES=1920x1080 DETACH=1 bash scripts/run_server.sh game Town10HD_Opt
FULLSCREEN=1 asks for exclusive fullscreen instead, and it is deliberately not
the default: an overlay window — a terminal being screen-recorded on top of the
simulator, for instance — does not reliably stay above an exclusive-fullscreen
window, and some capture paths flicker. Sized-and-windowed looks the same on
camera and composites properly.
WINDOW=1 and the UnrealTrace crash
A windowed launch started straight after a headless one died on startup:
SIGSEGV: invalid attempt to read memory at address 0x00007dcfcdff1a10
UE::Trace::Private::Writer_WorkerThread [Trace/Writer.cpp:1082]
-> TraceAuxiliaryOnMessageCallback [TraceAuxiliary.cpp:1455]
-> FLLMTracker::TrackAllocation [HAL/LLM/LLM.cpp:6630]
Inside UnrealTrace's own writer thread — not the window, not the RHI — with a
stale UnrealTraceServer daemon still resident from the previous run. The same
command came up clean with -notrace, so WINDOW=1 now passes it by default
and TRACE=1 puts it back. If a launch still dies this way, clear the daemon:
pkill -f "[U]nrealTraceServer"
NULLRHI=1 will crash the server if you spawn a camera
Not "produces no images" — crashes. With no RHI there is no render target, so the camera readback path dereferences null on the render thread:
Unhandled Exception: SIGSEGV: invalid attempt to read memory at address 0x58
libUnrealEditor-Carla.so!ImageUtil::ReadImageDat
अक्सर पूछे जाने वाले सवाल
क्या यह बिना स्क्रीन के चल सकता है?
हाँ। सर्वर हेडलेस मोड में चल सकता है, जहाँ रेंडरिंग ऑफ़स्क्रीन होती है।
सर्वर किस तरीके से शुरू करना चाहिए?
गेम मोड डिफ़ॉल्ट है, क्योंकि वह सोर्स ट्री के हर मैप को सपोर्ट करता है।
क्या यहाँ ROS 2 चालू कर सकता हूँ?
हाँ, एक सिंगल-डैश फ़्लैग से, बशर्ते बिल्ड में ROS 2 पहले से शामिल हो।
जानकारी
लेखक का मूल विवरण
Starts a CARLA UE 5.8 server from a ue58-dev tree — the editor binary in -game mode (the working headless server), the packaged shipping build, or the full editor — with offscreen/nullrhi rendering, custom RPC and streaming ports, and native ROS 2 via the single-dash -ros2 flag. Probes a running server, and stops one cleanly despite the 15-character process-name truncation. Use when the user asks to "run/start CARLA UE5", "launch a ue58 server", "run headless", "publish ROS 2 topics from UE5", or a client cannot reach the simulator.
repo: carla-simulator/carla
लोकप्रियता
- GitHub स्टार
- 15k
- रैंकिंग में स्थान
- #11136
- लाइसेंस
- 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यह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।