run-carla-ue58-server
하는 일
이 스킬은 Unreal Engine 5.8로 만든 CARLA 시뮬레이터 서버를 시작해 프로그램이 연결할 수 있게 합니다. 화면 없이 테스트하려고 시뮬레이터를 실행해야 하는 사람을 위한 스킬입니다.
사용하는 경우
- ✓화면 창 없이 테스트를 위해 최신 CARLA 서버를 실행하고 싶을 때.
- ✓패키지된 CARLA 빌드가 있어서 이를 시작하고 싶을 때.
- ✓이미 실행 중인 서버가 응답하는지 확인해야 할 때.
스킬 링크
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue58/run-carla-ue58-server/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“내 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
자주 묻는 질문
화면 없이 실행할 수 있나요?
네. 서버는 헤드리스로 실행할 수 있으며, 렌더링은 화면 밖에서 처리됩니다.
어떤 방식으로 서버를 시작해야 하나요?
게임 모드가 기본값입니다. 소스 트리의 모든 지도를 지원하므로 기본으로 쓰기 좋습니다.
여기서 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
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
create-leaderboard-route
15k카메라 화면에서 웨이포인트와 시나리오 트리거를 배치하고, 확인하고, 순서를 정해 CARLA 리더보드 경로 파일을 만들도록 에이전트를 돕습니다.
package-leaderboard-agent
15k주행 에이전트를 CARLA Leaderboard 제출용 Docker 이미지로 패키징하고, 폴더 구조를 확인하며 이미지가 에이전트를 로드하는지 테스트하도록 돕습니다.
read-leaderboard-results
15kCARLA Leaderboard 결과 파일을 읽고 경로별 점수와 위반 사항을 설명하며, 다른 규칙 버전에서 실행을 다시 채점하도록 에이전트를 돕습니다.
run-leaderboard-evaluation
15k주행 에이전트로 경로 세트에 대한 CARLA Leaderboard 평가를 실행하도록 돕습니다. 먼저 설정을 확인하고, 재개할 수 있는 체크포인트를 저장합니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.