import-carla-prop
Fungsinya
Skill ini mengimpor file model 3D ke CARLA sebagai properti, yaitu objek seperti bangku, penghalang, dan rambu jalan. Untuk orang yang menambahkan item kustom ke jalan simulasi mereka.
Kapan dipakai
- βSaat Anda punya model 3D objek jalan dan ingin memasukkannya ke CARLA.
- βSaat Anda ingin bangku atau rambu baru muncul di simulator untuk tes.
- βSaat Anda ingin memastikan properti yang diimpor dapat ditempatkan dalam simulasi yang berjalan.
Link skill
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue4/import-carla-prop/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBisakah Anda mengimpor model bangku FBX di folder saya ke CARLA sebagai properti dan memastikan saya bisa menempatkannya?β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent mengimpor setiap model ke CARLA, memberinya label dari nama folder, dan mendaftarkannya agar dapat dimunculkan seperti properti bawaan. Lalu agent menempatkan salinan uji untuk memastikan itu berfungsi.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Import a prop 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.
# 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
Pertanyaan umum
Bagaimana cara memberi label properti?
Setiap nama subfolder menjadi label untuk model di dalamnya, seperti Building.
Bisakah mengimpor satu file?
Bisa. Anda dapat memberi satu file labelnya secara langsung.
Bisakah membagikan properti sebagai paket?
Bisa. Properti dapat diekspor sebagai paket mandiri agar orang lain dapat mengimpornya.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 15k
- Peringkat
- #11123
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
create-leaderboard-route
15kMembantu agent Anda membuat file rute CARLA Leaderboard dengan menempatkan waypoint dan pemicu skenario dari kamera simulator, lalu memeriksa dan mengurutkannya.
package-leaderboard-agent
15kMembantu agent Anda memaketkan agent mengemudi ke dalam image Docker untuk pengiriman CARLA Leaderboard, dengan memeriksa tata letak folder dan menguji bahwa image memuatnya.
read-leaderboard-results
15kMembantu agent Anda membaca file hasil CARLA Leaderboard, menjelaskan skor dan pelanggaran setiap rute, dan menilai ulang sebuah run dengan versi aturan lain.
run-leaderboard-evaluation
15kMembantu agent Anda menjalankan evaluator CARLA Leaderboard pada sekumpulan rute dengan agent mengemudi Anda, memeriksa pengaturan terlebih dahulu dan menyimpan checkpoint yang bisa dilanjutkan.
Skill serupa
diffs
394kMemungkinkan agent Anda menghasilkan diff perubahan yang nyata dan dapat dibagikan sebagai tautan viewer atau file gambar, bukan ringkasan yang ditulis manual.
coding-agent
394kMembantu agent Anda menyerahkan pekerjaan pemrograman besar ke Codex, Claude Code, atau OpenCode di latar belakang, lalu memeriksa kemajuannya.
gh-issues
394kMembantu agent Anda menemukan issue GitHub, memilih yang dikerjakan, dan membuka pull request perbaikan, termasuk tindak lanjut komentar tinjauan.