run-autoware-ue58
하는 일
이 스킬은 Autoware 자율주행 소프트웨어를 Unreal Engine 5.8의 CARLA 시뮬레이터와 연결해 두 프로그램이 메시지를 직접 주고받게 합니다. 시뮬레이션 교통에서 Autoware를 테스트하려는 엔지니어를 위한 스킬입니다.
사용하는 경우
- ✓CARLA 안에서 Autoware 자율주행 소프트웨어를 테스트하고 싶을 때.
- ✓두 시스템이 공유하는 메시지와 센서를 확인해야 할 때.
- ✓CARLA 도시에서 만든 Autoware용 지도 파일이 필요할 때.
스킬 링크
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue58/run-autoware-ue58/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Unreal 5.8의 CARLA 시뮬레이터와 Autoware를 연결하고, 메시지가 주고받아지는지 확인하는 것을 도와줄 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
시뮬레이터는 차량 상태와 센서 데이터를 메시징 네트워크에 직접 발행하고, Autoware의 제어 명령을 기다립니다. 에이전트는 빌드와 컴퓨터를 점검하고, Autoware에 필요한 지도 파일을 만든 뒤, 포함된 두 가지 주행 모드 중 하나를 시작합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Run Autoware against CARLA on UE 5.8
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.
There is no bridge. The CARLA server publishes vehicle status and sensor data straight onto DDS and subscribes to Autoware's control commands, because the publishers and the subscriber are compiled into the simulator:
CARLA server --rt/vehicle/status/*, sensor topics--> Autoware
<--rt/control/command/*, rt/vehicle/engage--
That is the whole integration, and it only exists if two separate things are
true — the build has -DENABLE_ROS2=ON (compile-time, cannot be enabled later)
and the server was started with the single-dash -ros2 flag
([[run-carla-ue58-server]]).
The pieces are ue58-only. AutowareGNSSPublisher,
AutowareVehicleStatusPublisher, AutowareControlSubscriber and
AutowareSteeringCompensation.h do not exist in the UE4 tree, and neither do the
sensor.other.autoware_gnss / sensor.other.vehicle_status blueprints.
Instructions
Progress:
- [ ] Step 1: Check prerequisites (bash scripts/check_env.sh)
- [ ] Step 2: probe — is this build and this machine equipped at all
- [ ] Step 3: maps — generate lanelet2 + pointcloud (once per town)
- [ ] Step 4: start the server WITH -ros2, then autoware_demo.py
- [ ] Step 5: launch the stack (dry run first)
Step 2: What you have
source scripts/env.sh
bash scripts/autoware.sh probe # build flag, native pieces, stack, maps
bash scripts/autoware.sh topics # the DDS contract, read from the source
bash scripts/autoware.sh sensors # Autoware blueprints on a running server
topics greps the publisher and subscriber constructors rather than restating
them, so it cannot drift from your build. Measured contract:
| CARLA → Autoware | Autoware → CARLA |
|---|---|
rt/vehicle/status (base) |
rt/control/command (base) |
rt/vehicle/status/velocity_status |
rt/control/command/control_cmd |
rt/vehicle/status/steering_status |
rt/control/command/gear_cmd |
rt/vehicle/status/control_mode |
rt/control/command/turn_indicators_cmd |
rt/vehicle/status/gear_status |
rt/control/command/hazard_lights_cmd |
rt/vehicle/status/turn_indicators_status |
rt/control/command/emergency_cmd |
rt/vehicle/status/hazard_lights_status |
rt/vehicle/engage |
Status is RELIABLE / VOLATILE / KEEP_LAST 1; commands are RELIABLE / TRANSIENT_LOCAL / KEEP_LAST 1, so a late-joining simulator still receives the
last command. A ROS 2 node sees these without the rt/ prefix.
sensors confirms the rig's blueprints exist and prints each one's ROS
attributes. Both ros_name (a topic segment) and ros_topic_name (the exact
topic, overriding generation) are on every sensor — the second is how the rig
lands on Autoware's expected names rather than CARLA's.
Step 3: Maps — Autoware does not read your .xodr
bash scripts/autoware.sh maps --town Town10HD_Opt
Autoware needs lanelet2_map.osm, pointcloud_map.pcd and
map_projector_info.yaml, generated from the CARLA map by
av_stacks/autoware/map_tools/. They land in map_tools/maps/<Town>/, and
probe reports which towns are complete. A prebuilt set can also be fetched
with map_tools/fetch_prebuilt_maps.sh.
Step 4: Server, then the CARLA-side driver
cd ../run-carla-ue58-server && ROS2=1 DETACH=1 bash scripts/run_server.sh game
cd ../run-autoware-ue58 && bash scripts/autoware.sh demo --spawn_index 52
autoware_demo.py owns the simulation. It applies world settings, spawns the
ego and the sensor rig, and ticks the world — the stack does not. Run it before
launching Autoware and leave it running. Useful flags: --list_maps,
--load_map, --spawn_index N, --follow, --hz_rate, --run_async,
--substepping, --resync, --mgrs_off, --time_scale.
It also writes its own post-process profile
(deploy_postprocess_profile("autoware_demo", …) → Content/Carla/Config/ PostProcess/autoware_demo.json), so that file being absent is normal — it is
regenerated, not shipped.
With ROS2=1 the server needs noticeably longer to accept connections than a
plain start; wait for the port rather than assuming failure.
Step 5: The stack
bash scripts/autoware.sh stack --mode e2e # DRY RUN — prints t
자주 묻는 질문
별도의 브리지 프로그램이 필요한가요?
아니요. 연결이 시뮬레이터에 내장되어 있으므로, 추가 브리지 프로세스가 실행되지 않습니다.
이것이 작동하려면 무엇을 켜야 하나요?
빌드에 ROS 2가 포함되어야 하며, 서버도 ROS 2 옵션을 켜고 시작해야 합니다.
구버전인 Unreal 5.5에서도 되나요?
아니요. 이 부분은 Unreal 5.8 계열에만 있습니다.
상세 정보
작성자의 원본 설명
Runs the Autoware autonomous-driving stack against CARLA on UE 5.8 over CARLA's native ROS 2 interface — no bridge process. Reports the DDS contract (rt/vehicle/status/* out, rt/control/command/* in), the Autoware-only sensor blueprints, generates the lanelet2 + point-cloud map artifacts Autoware needs instead of an .xodr, and drives the two shipped modes (classical NDT stack, or the camera-only VAD end-to-end model). Use when the user asks to "run Autoware on CARLA", "connect an AV stack", "drive the ego from Autoware", "generate a lanelet2 map", or asks which topics CARLA exchanges with Auto
repo: carla-simulator/carla
인기도
- GitHub 스타
- 15k
- 순위
- #11135
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
create-leaderboard-route
15k카메라 화면에서 웨이포인트와 시나리오 트리거를 배치하고, 확인하고, 순서를 정해 CARLA 리더보드 경로 파일을 만들도록 에이전트를 돕습니다.
package-leaderboard-agent
15k주행 에이전트를 CARLA Leaderboard 제출용 Docker 이미지로 패키징하고, 폴더 구조를 확인하며 이미지가 에이전트를 로드하는지 테스트하도록 돕습니다.
read-leaderboard-results
15kCARLA Leaderboard 결과 파일을 읽고 경로별 점수와 위반 사항을 설명하며, 다른 규칙 버전에서 실행을 다시 채점하도록 에이전트를 돕습니다.
run-leaderboard-evaluation
15k주행 에이전트로 경로 세트에 대한 CARLA Leaderboard 평가를 실행하도록 돕습니다. 먼저 설정을 확인하고, 재개할 수 있는 체크포인트를 저장합니다.
비슷한 스킬
test-driven-development
311k에이전트가 기능이나 수정을 만들기 전에 실패하는 테스트를 먼저 쓰고, 그것을 통과시키는 가장 작은 코드를 작성하도록 가르칩니다.
verification-before-completion
311k에이전트가 작업, 수정, 빌드가 완료되었거나 통과했다고 말하기 전에 실제 점검을 실행하고 결과를 읽도록 가르칩니다.
migrate-to-shoehorn
310k테스트 파일의 위험한 타입 캐스팅을 shoehorn 라이브러리로 바꿔, 테스트가 일부 데이터만 써도 타입 검사를 통과하도록 돕습니다.