import-carla-walker
यह क्या करती है
यह स्किल 3D मानव मॉडल को CARLA में ऐसे पैदल यात्री के रूप में इम्पोर्ट करती है जो घूम सके। यह उन लोगों के लिए है जो अपनी सिमुलेटेड सड़कों में कस्टम लोग चाहते हैं।
कब इस्तेमाल करें
- ✓जब आपके पास किसी व्यक्ति का 3D मॉडल है और आप चाहते हैं कि वह CARLA में चले।
- ✓जब आपको टेस्ट के लिए किसी खास रूप या कद-काठी वाला पैदल यात्री चाहिए।
- ✓जब इम्पोर्ट किया गया व्यक्ति इसलिए नहीं हिलता क्योंकि उसका स्केलेटन CARLA के लेआउट से मेल नहीं खाता।
Skill का लिंक
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue4/import-carla-walker/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप मेरा 3D व्यक्ति मॉडल CARLA में पैदल यात्री के रूप में इम्पोर्ट कर सकते हैं, और जाँच सकते हैं कि वह स्पॉन होकर चलता है?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट जाँचता है कि मॉडल का स्केलेटन CARLA के पैदल यात्रियों के लेआउट से मेल खाता है, फिर मेश, मटीरियल और फ़िज़िक्स इम्पोर्ट करता है। वह व्यक्ति को पैदल यात्री सूची में दर्ज करता है और पुष्टि करता है कि वह खड़ा होता है और चलता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Import a pedestrian into CARLA
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.
python3 scripts/import_walker.py ~/models/SK_AfroBoy01_G3.fbx \
--gender male --age child --generation 3 --speed 0.0,1.1,2.0
--gender, --age and --generation are required and asked of the user (step 0);
--speed is optional, defaulting to the stock adult triple 0.0,1.7,4.0.
The FBX must be skinned to CARLA's GEN3 pedestrian rig — 26 crl_* bones. That is
the whole contract: match it and the walker inherits ABP_GEN3 and every AS_*_G3
animation with no retargeting. Miss it and the import succeeds while the walker never
moves, which is why the rig is checked before anything boots.
The result spawns exactly like a native CARLA pedestrian:
walker_bp = bp_lib.find('walker.pedestrian.0053')
walker = world.spawn_actor(walker_bp, world.get_random_location_from_navigation())
controller = world.spawn_actor(bp_lib.find('controller.ai.walker'),
carla.Transform(), attach_to=walker)
controller.start(); controller.go_to_location(world.get_random_location_from_navigation())
Pipeline, factory schema and constraints:
references/walker_import.md.
Instructions
Walker Import Progress:
- [ ] Step 0: ASK THE USER for gender, age and generation (speed optional)
- [ ] Step 1: Check the INPUT FILE first — format, skinned, rig, textures
- [ ] Step 2: Check prerequisites — hand off to build-carla-ue4 on a build FAIL
- [ ] Step 3: Import — boot 1 builds the assets, boot 2 registers them
- [ ] Step 4: Verify it spawns, stands, and walks on a running server
Step 0: Ask the user for the attributes
Do this before anything else, every time. Do not infer them, do not carry them over from an earlier import, do not read them off the file name.
Three questions, and the import will not start without the answers — the CLI makes
--gender, --age and --generation required precisely so this cannot be skipped:
| ask | values | why it must be asked |
|---|---|---|
| gender | male / female / other |
not derivable from a mesh at all |
| age | child / teenager / adult / elderly |
height is measured and reported, but a 1.2 m mesh can be a child or a scaled adult |
| generation | 1 / 2 / 3 |
3 is the GEN3 rig this skill imports; the user still chooses what the attribute claims |
--speed is optional and defaults to 0.0,1.7,4.0 — the stock adult triple, and
the same default CARLA's add_walker_to_walker_factory.py uses. Children and teenagers
normally use 0.0,1.1,2.0; when the default contradicts the chosen age the importer
says so rather than accepting it quietly. Ask for it only if the user cares about
walking and running speed.
Every one of these is silent when wrong: nothing raises, the walker spawns happily,
and the attribute is simply wrong for anyone filtering the blueprint library on
gender, age or generation.
Step 1: Check the input file — ALWAYS FIRST
python3 scripts/check_input.py ~/models/SK_MyPed.fbx
Expected input, in one place:
| requirement | detail |
|---|---|
| format | FBX, binary or ASCII. Nothing else is importable — .ma, .mb, .blend, .max, .c4d, .obj, USD, glTF, COLLADA all fail here |
| kind | a skinned/skeletal mesh. A static mesh is a prop, not a walker |
| rig | skinned to CARLA's GEN3 skeleton: exactly the 26 crl_* bones, no more and no fewer |
| textures | embedded (FBX export option "Embed Media") or texture files beside the FBX. Absolute paths from the author's machine resolve nowhere |
| contents | one character per file; animation is not needed and is not imported |
| units | authored in cm or m — the importer converts scene units |
Exit codes: 0 usable, 1 rig mismatch, 2 unusable (wrong format, or not skinned).
[input] SK_AfroBoy01_G3_test.fbx 1313 KB
[input] PASS binary FBX
[input] PASS skinned, 26 crl_* bones
[input] PASS rig is GEN3 — ABP_GEN3 and every AS_*_G3 animation apply as-is
[input] WARN 2 texture reference(s) are paths from another machine ...
The texture line is a warning, never fatal: the import proceeds and the walker comes out flat white. Nothing downstream can invent textures the
अक्सर पूछे जाने वाले सवाल
इम्पोर्ट के लिए कौन-से विवरण चाहिए?
मॉडल का लिंग, आयु वर्ग और पीढ़ी, जो स्किल आपसे पहले पूछती है।
स्केलेटन का मेल क्यों ज़रूरी है?
मेल न खाने वाला स्केलेटन बिना एरर के इम्पोर्ट हो सकता है, पर कभी हिलता नहीं, इसलिए जाँच सबसे पहले होती है।
क्या मैं चलने की गति तय कर सकता हूँ?
हाँ। आप चलने की गति सेट कर सकते हैं, या मानक वयस्क गति रखे रह सकते हैं।
जानकारी
लेखक का मूल विवरण
Imports an FBX pedestrian into a CARLA source build as a spawnable walker.pedestrian.NNNN — checks the FBX is skinned to CARLA's GEN3 rig, imports the mesh, physics asset and materials, builds the walker blueprint from a GEN3 donor, registers it in WalkerFactory through CARLA's own add_walker_to_walker_factory.py, and verifies it spawns, stands on the ground and walks. Use when the user asks to "add a pedestrian to CARLA", "import a walker/character FBX", or needs a custom human spawnable from the Python API.
repo: carla-simulator/carla
लोकप्रियता
- GitHub स्टार
- 15k
- रैंकिंग में स्थान
- #11125
- लाइसेंस
- 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
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।