install-scenario-runner
यह क्या करती है
यह स्किल ScenarioRunner इंस्टॉल करती है, जो CARLA पर ड्राइविंग टेस्ट परिदृश्य चलाने का आधिकारिक टूल है। यह उन लोगों के लिए है जो टेस्ट चलाना चाहते हैं पर पक्का नहीं कि कौन-सा संस्करण इंस्टॉल करें।
कब इस्तेमाल करें
- ✓जब आप CARLA पर मानक ड्राइविंग टेस्ट परिदृश्य चलाना चाहते हैं।
- ✓जब आपको 'परिदृश्य सपोर्टेड नहीं' जैसी एरर दिखे और आपको शक हो कि संस्करण गलत है।
- ✓जब आप Leaderboard चलाने की तैयारी कर रहे हैं और आपको मेल खाता संस्करण चाहिए।
Skill का लिंक
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/setup/install-scenario-runner/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप मेरे CARLA संस्करण के लिए ScenarioRunner इंस्टॉल कर सकते हैं, ताकि मैं ड्राइविंग टेस्ट परिदृश्य चला सकूँ?”
हर हफ़्ते 5 नई skills, 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
- अपडेट की गई
- 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यह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।