run-carla-ue58-server
Что он делает
Скилл запускает сервер симулятора CARLA на Unreal Engine 5.8, чтобы ваши программы могли к нему подключиться. Он нужен всем, кому симулятор должен работать для тестов, без необходимости в экране.
Когда использовать
- ✓Когда вы хотите запустить новый сервер CARLA для тестов без открытия окна.
- ✓Когда у вас есть упакованная сборка CARLA и вы хотите её запустить.
- ✓Когда нужно проверить, отвечает ли уже запущенный сервер.
Ссылка на скилл
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue58/run-carla-ue58-server/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Можешь запустить мой сервер CARLA на Unreal 5.8 без окна и проверить, что он отвечает, прежде чем я подключу свой код?”
5 новых скиллов в неделю. 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
Частые вопросы
Может ли он работать без экрана?
Да. Сервер может работать без окна, а отрисовка выполняется вне экрана.
Каким способом лучше запускать сервер?
По умолчанию используется режим Game, так как он поддерживает все карты из дерева исходников.
Можно ли включить 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
- Обновлён
- 02.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 на наборе маршрутов с вашим агентом: проверить настройку, сохранять контрольные точки и продолжать с них.
Похожие скиллы
openclaw-update
394kПомогает агенту обновить уже работающий OpenClaw Gateway, выбрав способ обновления по тому, как он был установлен, и сохранив вашу сессию.
diagnose-gateway
394kПомогает агенту выяснить, почему ваш OpenClaw Gateway не работает, проверяя настройки, каналы и порты, но ничего не меняя.
crabbox-apps
394kПомогает агенту открыть и запустить приложение на временной облачной машине, а затем показать его вид на боковой панели чата.