run-autoware-ue58
What it does
This skill connects the Autoware self-driving software to the CARLA simulator on Unreal Engine 5.8 so they exchange messages directly. It is for engineers who want to test Autoware in simulated traffic.
When to use it
- βWhen you want to test the Autoware self-driving software inside CARLA.
- βWhen you need to check which messages and sensors the two systems share.
- βWhen you need map files for Autoware created from a CARLA town.
Skill link
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue58/run-autoware-ue58/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCan you help me connect Autoware to my CARLA simulator on Unreal 5.8 and check that the messages are flowing?β
5 new skills a week. 1 minute to read.
How it works
The simulator publishes its car status and sensor data straight to the messaging network, and listens for Autoware's control commands. The agent checks the build and the machine, creates the map files Autoware needs, and then starts one of the two included driving modes.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
Is a separate bridge program needed?
No. The connection is built into the simulator, so no extra bridge process runs.
What must be turned on for this to work?
The build must include ROS 2, and the server must start with the ROS 2 option.
Does this work on the older Unreal 5.5 version?
No. These parts exist only in the Unreal 5.8 line.
Details
Original description by the author
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
Popularity
- GitHub stars
- 15k
- Ranking position
- #11135
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
create-leaderboard-route
15kHelps your agent build CARLA Leaderboard route files by placing waypoints and scenario triggers from the simulator camera, then checking and ordering them.
package-leaderboard-agent
15kHelps your agent package a driving agent into a Docker image for CARLA Leaderboard submission, checking the folder layout and testing that the image loads it.
read-leaderboard-results
15kHelps your agent read a CARLA Leaderboard results file, explain each route's score and infractions, and rescore a run under the other rule version.
run-leaderboard-evaluation
15kHelps your agent run the CARLA Leaderboard evaluator on a set of routes with your driving agent, checking the setup first and saving checkpoints you can resume.
Similar skills
test-driven-development
311kTeaches your agent to write a failing test first, watch it fail, then write the smallest code that passes, before building any feature or fix.
verification-before-completion
311kTeaches your agent to run real checks and read their output before claiming that a task, fix, or build is complete or passing.
migrate-to-shoehorn
310kReplaces risky type casts in your test files with the shoehorn library, so tests can use partial data and still pass type checks.