본문으로 건너뛰기
Skillpedia
일반 코딩15k · #11133

import-carla-ue58-walker

하는 일

이 스킬은 뼈대가 있는 3D 사람 모델을 Unreal Engine 5.8의 CARLA에 걷는 보행자로 가져옵니다. 새 버전의 시뮬레이션 거리에 맞춤 사람을 넣으려는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓리그가 있는 3D 사람 모델이 있고, 새 CARLA 빌드에서 걷게 하고 싶을 때.
  • ✓가져온 사람은 나타나지만 움직이지 않아서, 원인을 찾아야 할 때.
  • ✓기존 CARLA 보행자의 뼈대로 새 모델을 시작하려고 기존 보행자를 내보내고 싶을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue58/import-carla-ue58-walker/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 리그가 있는 3D 사람 모델을 Unreal 5.8의 CARLA에 가져와서, 기본 보행자처럼 걸어 다니게 해 줄 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 뼈대가 있는 모델을 CARLA의 공유 뼈대에 맞춰 가져오고, 작동하는 보행자 설정을 복사해 새 메시를 가리키게 합니다. 그다음 보행자를 등록해 생성할 수 있게 하고, 표준 애니메이션으로 걷게 합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Import a walker on UE 5.8

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 walker is three artefacts, not one. Miss any and it either never appears or appears and never moves:

skinned FBX
  --import, bound to the SHARED skeleton-->  SkeletalMesh
  --duplicate a donor BP, repoint its mesh-->  BP_<Name>_C
  --WalkerParameters.json entry-->  walker.pedestrian.<id>

Two things make this harder than [[import-carla-ue58-prop]]:

  • The registry points at a blueprint class, not a mesh. So a blueprint has to exist, and it is made by duplicating a donor — the skeletal mesh and anim class live on the compiled class's CDO, and a fresh subclass would need a recompile, which resets both to the parent's defaults.
  • The skeleton binding decides whether it animates, and getting it wrong fails silently. Bind to CARLA's shared Skel_Pedestrian_G2/G3 and the pedestrian animation set drives your mesh. Let the importer create its own skeleton — the default — and you get a structurally identical private skeleton, a walker that registers, spawns, looks right and stands still. No warning anywhere.

Instructions

Progress:
- [ ] Step 1: Check prerequisites (bash scripts/check_env.sh)
- [ ] Step 2: donors — pick a donor and see the shared skeletons
- [ ] Step 3: get a rig-conforming FBX (export one if you have no art)
- [ ] Step 4: plan, then import
- [ ] Step 5: RESTART the server, then verify --spawn

Step 2-3: Donor, and where the FBX comes from

source scripts/env.sh

python3 scripts/import_walker.py donors

Lists the 38 shipped walkers with generation/gender/age, checks both shared skeletons exist, and reports free registry ids.

The FBX must be skinned to CARLA's pedestrian rig. If you have no such art, export a shipped walker — that is also the round-trip that validates the pipeline:

python3 scripts/import_walker.py export --walker 0015 --out ~/MyPed.fbx

Measured on walker 0015: a 1.72 MB FBX, mesh 1.69 × 0.34 × 1.84 m, skeleton Skel_Pedestrian_G2.

Step 4: Import

python3 scripts/import_walker.py plan   ~/MyPed.fbx --name MyPed
python3 scripts/import_walker.py import ~/MyPed.fbx --name MyPed
Flag Effect
--name asset and blueprint name; the FBX is staged as <name>.fbx first, because the imported asset takes the file's name
--gen 2|3 which shared skeleton to bind to (default 2)
--id registry id (default: first free from 0090)
--donor donor id or blueprint path (default: lowest id of that generation)
--gender, --age override the donor's values
--scale import_uniform_scale
--no-register import without touching the registry

import fails loudly if the mesh ends up on a private skeleton, rather than registering a walker that cannot animate.

Step 5: Restart, verify

Definitions load once at startup. A walker registered against a running server does not appear until it restarts.

cd ../run-carla-ue58-server && bash scripts/run_server.sh stop
DETACH=1 bash scripts/run_server.sh game

cd ../import-carla-ue58-walker
python3 scripts/import_walker.py verify --id 0090 --spawn

verify --spawn checks the registry entry, the blueprint on disk, the blueprint library, then spawns it, drives it with a WalkerControl and asserts a non-zero peak speed. That last check is the only proof the shared skeleton's animations are driving the mesh — a private-skeleton walker spawns and reads exactly 0.00 m/s. It also reports the bone count.

Verified output:

PASS registered: gen2 Female Adult -> /Game/Carla/Blueprints/Walkers/BP_SkillPed.BP_SkillPed_C
PASS blueprint on disk   PASS walker.pedestrian.0090 in the blueprint library
PASS spawned id=25 bbox 1.68 x 0.30 x 1.83 m
PASS peak 1.40 m/s under WalkerControl — the shared skeleton's animations are
     driving it (net travel 0.09 m)
PASS 66 bones readable

The check asserts on peak SPEED, not distance travelled, and that matters. Measured on a stock walker: peak 1.40 m/s — exactly the commanded speed — with 0.09 m of net travel, because get_spawn_points() returns vehicle bays that can be boxed in by geometry, so the walker treadmills against a wall. Speed proves the mesh/skeleton/

자주 묻는 질문

뼈대가 왜 중요한가요?

모델이 자체 전용 뼈대를 쓰면 모양은 맞아 보여도 움직이지 않는데, 아무 경고도 나오지 않습니다.

기존 보행자에서 시작할 수 있나요?

네. 스킬은 기본 제공 보행자를 파일로 내보내 새 모델의 출발점으로 쓸 수 있게 합니다.

보행자는 어디에 등록되나요?

보행자를 ID별로 나열하는 매개변수 파일에 등록됩니다.

상세 정보

작성자의 원본 설명

Imports a pedestrian into CARLA on UE 5.8 as a spawnable, animating walker — imports the skinned FBX bound to CARLA's shared pedestrian skeleton, duplicates a donor walker blueprint and repoints it at the new mesh, and registers it in WalkerParameters.json as walker.pedestrian.<id>. Can also export a shipped walker to FBX, which is how you obtain a rig-conforming mesh to start from. Use when the user asks to "import a walker/pedestrian", "add a custom character", "clone a walker", or has a walker that spawns but stands still.

repo: carla-simulator/carla

인기도

GitHub 스타
15k
순위
#11133
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬