install-scenario-runner
하는 일
이 스킬은 CARLA에서 주행 테스트 시나리오를 실행하는 공식 도구인 ScenarioRunner를 설치합니다. 테스트를 실행하고 싶지만 어떤 버전을 설치해야 할지 확실하지 않은 사람을 위한 스킬입니다.
사용하는 경우
- ✓CARLA에서 표준 주행 테스트 시나리오를 실행하고 싶을 때.
- ✓시나리오가 지원되지 않는다는 오류가 보이고, 버전이 잘못되었다고 의심될 때.
- ✓Leaderboard를 실행하기 위해 맞는 버전을 준비하는 중일 때.
스킬 링크
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/setup/install-scenario-runner/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“내 CARLA 버전에 맞는 ScenarioRunner를 설치해서 주행 테스트 시나리오를 실행할 수 있게 해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 어떤 CARLA 버전을 쓰는지 확인한 뒤, 정해진 목록에서 맞는 ScenarioRunner 브랜치를 골라 내려받고 필요한 패키지를 설치합니다. 그다음 다른 도구가 찾을 수 있도록 폴더 위치를 저장합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Install ScenarioRunner
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.
ScenarioRunner is pure Python — there is nothing to build. Installing it is
three decisions and one pip install:
- which branch matches your CARLA (this is the whole problem),
- where the checkout lives (
SCENARIO_RUNNER_ROOT), - what goes on
PYTHONPATH.
Get the branch wrong and the failure is not a version warning — it is
Scenario 'X' not supported, a missing map, or a scenario that spawns nothing,
because the scenario classes, the town names and the vehicle blueprints all
changed between branches.
Instructions
Progress:
- [ ] Step 1: Identify the CARLA version in play
- [ ] Step 2: Pick the branch from the matrix
- [ ] Step 3: Clone or check out that branch
- [ ] Step 4: Install requirements into the interpreter that has `carla`
- [ ] Step 5: Record `SCENARIO_RUNNER_ROOT` with `set_config`, then verify (bash scripts/check_env.sh)
Step 1-2: Which branch
python3 scripts/install_scenario_runner.py detect # what CARLA is here?
python3 scripts/install_scenario_runner.py plan # -> branch + exact commands
detect reads the installed carla client, the running server if there is one,
and any SCENARIO_RUNNER_ROOT already present. plan turns that into a branch
recommendation and prints the commands rather than running them.
| Your CARLA | ScenarioRunner branch | Notes |
|---|---|---|
| 0.9.14 / 0.9.15 / 0.9.16 (UE4) | master |
the live branch; 0.9.16 released Sep 2025 |
| 1.x, or 0.10.0 from a UE 5.8 tree (UE 5.8, the 1.0 line) | ue58-dev |
Town01_Opt to Town05_Opt and Town10HD_Opt; --list shows 96 configs; UE5 map-name and blueprint-name translation; route-mode fixes; srunner/scenic/ included |
| 0.10.0 release (UE 5.5) | ue5-master |
Town10HD_Opt only; 11 of 101 configs ported; forked Jun 2024 |
| leaderboard build (0.9.14+large maps) | leaderboard-2.1 or leaderboard-2.0 |
byte-identical branches — same commit |
| 0.9.10.1 | leaderboard-1.0 |
Leaderboard 1.0 only |
| 0.9.13 and older | the matching 0.9.x tag/branch |
frozen, unsupported |
0.10.0 is ambiguous. A UE 5.8 (ue58-dev) server currently reports 0.10.0,
the same string as the UE 5.5 0.10.0 release, so the version alone cannot tell
ue5-master from ue58-dev until 1.0 is tagged. plan resolves it like this:
version >= 1.0 gives ue58-dev; 0.10.x gives ue58-dev when CARLA_UE58_ROOT
is set (or CARLA_ROOT points at that same tree), otherwise ue5-master with a
hint to pass --branch ue58-dev if the server is UE 5.8.
The minimum enforced in code is MIN_CARLA_VERSION = '0.9.14' on master, and
it is a hard ImportError at startup, not a warning. 0.10.0 passes that check
because version comparison is numeric per component (0.10 > 0.9), and 1.x
passes it on the major alone.
Step 3: Clone
# UE4 / CARLA 0.9.16
git clone -b master --single-branch https://github.com/carla-simulator/scenario_runner.git
# CARLA on UE 5.8 (ue58-dev tree, the 1.0 line)
git clone -b ue58-dev --single-branch https://github.com/carla-simulator/scenario_runner.git
# CARLA 0.10.0 release on UE 5.5
git clone -b ue5-master --single-branch https://github.com/carla-simulator/scenario_runner.git
# driving the Leaderboard (pick the branch that matches your leaderboard checkout)
git clone -b leaderboard-2.1 --single-branch https://github.com/carla-simulator/scenario_runner.git
--single-branch is worth it: the repo carries the OpenSCENARIO 2.0 test corpus
and, on ue5-master and ue58-dev, the Scenic assets under srunner/scenic/.
Already cloned? Switch instead of re-cloning:
python3 scripts/install_scenario_runner.py install --root ~/scenario_runner --branch ue58-dev
Step 4: Requirements
# into the SAME interpreter that imports carla — not a fresh venv unless carla is there too
python3 -m pip install -r ~/scenario_runner/requirements.txt
py_trees==0.8.3 is pinned (also on ue58-dev) and not optional: the behaviour-tree API changed
in 2.x and scenarios fail with attribute errors. numpy must stay <2 for the
same reason the CARLA client does — the bindings are built against the 1.x C API.
Step 5: Environment
export SCENARIO_RUNNER_ROOT=~/sc
자주 묻는 질문
버전이 왜 그렇게 중요한가요?
시나리오 목록, 도시 이름, 차량 모델이 버전마다 바뀌므로, 잘못된 버전을 쓰면 실패가 생깁니다.
ScenarioRunner는 빌드해야 하나요?
아니요. Python 전용이므로, 설치는 내려받고 필요한 패키지를 설치하는 것입니다.
설치 후에 설정을 확인할 수 있나요?
네. 검사 스크립트가 경로와 설정이 작동하는지 확인합니다.
상세 정보
작성자의 원본 설명
Installs CARLA's ScenarioRunner (the official scenario engine) and picks the branch that matches the CARLA in use: master for 0.9.14-0.9.16 (UE4), ue58-dev for CARLA on Unreal Engine 5.8 (the 1.0 line), ue5-master for the 0.10.0 release on UE 5.5, leaderboard-1.0/2.0/2.1 when driving the Leaderboard. Clones or checks out the branch, installs requirements, wires PYTHONPATH (including the `agents` package the carla wheel does not ship), and verifies the import. Use when the user asks to "install scenario runner", "set up SR", "run CARLA scenarios", "use OpenSCENARIO", or has a scenario_runner th
repo: carla-simulator/carla
인기도
- GitHub 스타
- 15k
- 순위
- #11119
- 라이선스
- 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에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.