मुख्य सामग्री पर जाएँ
Skillpedia
सामान्य कोडिंग15k · #11123

import-carla-prop

यह क्या करती है

यह स्किल 3D मॉडल फ़ाइलों को CARLA में प्रॉप के रूप में इम्पोर्ट करती है, यानी बेंच, बैरियर और सड़क के साइनबोर्ड जैसी वस्तुएँ। यह उन लोगों के लिए है जो अपनी सिमुलेटेड सड़कों में कस्टम चीज़ें जोड़ते हैं।

कब इस्तेमाल करें

  • ✓जब आपके पास सड़क की वस्तुओं के 3D मॉडल हैं और उन्हें CARLA में चाहिए।
  • ✓जब आप टेस्ट के लिए सिमुलेटर में नई बेंच या साइन दिखाना चाहते हैं।
  • ✓जब आप जाँचना चाहते हैं कि इम्पोर्ट किए गए प्रॉप चल रहे सिमुलेशन में रखे जा सकते हैं।

Skill का लिंक

https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue4/import-carla-prop/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue4/import-carla-prop/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“क्या आप मेरे फ़ोल्डर की FBX बेंच मॉडल CARLA में प्रॉप के रूप में इम्पोर्ट कर सकते हैं, और जाँच सकते हैं कि मैं उन्हें रख सकता हूँ?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट हर मॉडल को CARLA में इम्पोर्ट करता है, उसे फ़ोल्डर के नाम से लिया गया टैग देता है, और उसे इस तरह रजिस्टर करता है कि वह अंतर्निहित प्रॉप की तरह स्पॉन हो सके। फिर वह एक परीक्षण कॉपी रखकर पुष्टि करता है कि वह काम करता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Import a prop into CARLA

Paths. scripts/… and references/… 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.

# a directory — each subdirectory names the semantic tag for what is inside
python3 scripts/import_prop.py ~/meshes/props

# a single file — state its tag
python3 scripts/import_prop.py ~/meshes/Windmill.fbx --tag Building

Each mesh is imported into /Game/Carla/Static/<Tag>/<Name>, registered in Content/Carla/Config/Default.Package.json, and added to PropFactory — after which it spawns exactly like a native CARLA prop:

barrier_bp = bp_lib.find('static.prop.policebarrier')
for spawn_loc in spawn_locations:
    world.spawn_actor(barrier_bp, spawn_loc)

Pipeline detail, schema and the P-lessons: references/props.md.

Instructions

Prop Import Progress:
- [ ] Step 1: Check prerequisites — hand off to build-carla-ue4 on a build FAIL
- [ ] Step 2: Import (one command, one editor boot)
- [ ] Step 3: Verify the props spawn on a running server
- [ ] (opt-in) Export as a standalone package

Step 1: Check prerequisites

bash scripts/check_env.sh

What must exist is a runnable editor for this project: UE4_ROOT, the checkout, a built CarlaUE4Editor, and PythonScriptPlugin.

This skill never builds. On a FAIL naming UE4, CarlaUE4Editor or missing content, stop and run [[build-carla-ue4]] against that checkout, then come back.

The check also reports whether Content/Carla is a symlink to a shared content clone — if so, everything below lands in a tree every other checkout sees. --package NAME keeps an import out of it.

Step 2: Import

The directory form takes each prop's tag from the first level below the path you give — the same shape as the destination:

~/meshes/props/
├── Building/Windmill.fbx
├── Static/Bench_Modern.fbx
└── Dynamic/Crate.fbx

Any directory works. An FBX loose in the root, or under a directory that is not a tag, is an error before the editor boots.

size is measured, not asked. EPropSize is defined by physical scale, so the importer reads the mesh's bounding box and reports it:

[import] OK    static.prop.windmill    3.2 x 3.1 x 12.4 m    size=huge (measured)    412 KB

Read the dimensions: a mesh exported at the wrong scale shows up here. --size overrides.

tag cannot be measured and is never defaulted. It sets the semantic segmentation label, and a wrong one is labelled None with nothing raised. When filling it in from a request rather than from directory names:

the object is… tag
bolted-down street furniture — bench, ATM, bus stop, fountain, mailbox, vending machine Static
portable or knockable — bin, box, bag, cone, chair, cart, barrier Dynamic
a structure with mass — kiosk, shed, windmill, tower Building
a plant Vegetation
a post — street light, sign post, bollard Pole
road-surface debris Other

Say which tag you chose and why in one line, so the user can correct it before anything is written. When the object is ambiguous, ask.

Other flags:

flag why
--name prop name for a single file; defaults to the FBX stem
--package NAME import into its own /Game/NAME/ tree — self-contained, exportable, touches no shared content, no factory entry
--no-factory skip PropFactory; the registry entry alone still makes the prop spawnable
--mesh nominate one mesh when a multi-mesh FBX yields several
--verbose stream the editor log instead of capturing it

The importer stats every .uasset at the path it registered and fails if one is missing or too small to hold geometry.

Step 3: Verify they spawn

Start a server ([[run-carla-server]] — the default -nullrhi mode is enough, props need no rendering to spawn):

bash ../run-carla-server/scripts/run_server.sh Town10HD 2000 >/tmp/carla_server.log 2>&1 &
until nc -z 127.0.0.1 2000; do sleep 1; done
python3 scripts/verify_prop.py --name Windmill
pkill -x UE4Editor          # clean stop — never pkill -f (run-carla-server S3)

verify_prop.py filters, finds, spawns and destroys each prop. Blueprint ids are lowercase: static.prop.windmill.

Add --keep to leave the props standing, paired with a windowed server.

**This is whe

अक्सर पूछे जाने वाले सवाल

मैं प्रॉप को लेबल कैसे दूँ?

हर सबफ़ोल्डर का नाम उसके अंदर के मॉडलों के लिए लेबल बन जाता है, जैसे Building।

क्या मैं एक ही फ़ाइल इम्पोर्ट कर सकता हूँ?

हाँ। आप एक फ़ाइल को सीधे उसका लेबल दे सकते हैं।

क्या प्रॉप्स को पैकेज के रूप में बाँट सकते हैं?

हाँ। उन्हें अलग पैकेज के रूप में एक्सपोर्ट किया जा सकता है, ताकि दूसरे भी इम्पोर्ट कर सकें।

जानकारी

लेखक का मूल विवरण

Imports FBX meshes into a CARLA source build as spawnable static.prop.* blueprints — pass a directory whose subdirectories name the semantic tags, or a single FBX with its tag, and the props are imported into content, registered, added to the prop factory and verified by spawning. Use when the user asks to "add a prop to CARLA", "import an FBX as a prop", "add street furniture/benches/signs", or needs a custom mesh spawnable from the Python API.

repo: carla-simulator/carla

लोकप्रियता

GitHub स्टार
15k
रैंकिंग में स्थान
#11123
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

create-leaderboard-route

15k

यह आपके एजेंट को CARLA Leaderboard की रूट फ़ाइल बनाने में मदद करती है, जिसमें वेपॉइंट और सीन ट्रिगर कैमरे से लगाए जाते हैं।

अन्यविविध

package-leaderboard-agent

15k

यह आपके एजेंट को CARLA Leaderboard के लिए Docker इमेज बनाने में मदद करती है, और जाँचती है कि इमेज में एजेंट सही लोड होता है।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

read-leaderboard-results

15k

यह आपके एजेंट को CARLA Leaderboard की नतीजा फ़ाइल पढ़कर हर रूट का स्कोर समझाने और दूसरे नियम संस्करण में फिर से स्कोर करने में मदद करती है।

डेटाएनालिसिस और स्प्रेडशीट

run-leaderboard-evaluation

15k

यह आपके एजेंट को रूट के सेट पर CARLA Leaderboard मूल्यांकन चलाने में मदद करती है, शुरू करने से पहले सेटअप जाँचकर और चेकपॉइंट सेव करके।

कोडिंगटेस्टिंग

मिलती-जुलती skills