run-autoware-ue58
Was er macht
Dieser Skill verbindet die Autoware-Software für autonomes Fahren mit dem CARLA-Simulator unter Unreal Engine 5.8, sodass beide Nachrichten direkt austauschen. Er richtet sich an Ingenieurinnen und Ingenieure, die Autoware im simulierten Verkehr testen wollen.
Wann du ihn nutzt
- ✓Wenn du die Autoware-Software für autonomes Fahren in CARLA testen willst.
- ✓Wenn du prüfen musst, welche Nachrichten und Sensoren beide Systeme gemeinsam nutzen.
- ✓Wenn du Kartendateien für Autoware brauchst, die aus einer CARLA-Stadt erstellt wurden.
Link zum Skill
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue58/run-autoware-ue58/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Kannst du mir helfen, Autoware mit meinem CARLA-Simulator unter Unreal 5.8 zu verbinden, und prüfen, ob die Nachrichten fließen?”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Simulator veröffentlicht Fahrzeugstatus und Sensordaten direkt im Nachrichtennetz und hört auf die Steuerbefehle von Autoware. Der Agent prüft Build und Rechner, erstellt die Kartendateien, die Autoware braucht, und startet dann einen der beiden mitgelieferten Fahrmodi.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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
Häufige Fragen
Brauche ich ein separates Brückenprogramm?
Nein. Die Verbindung ist im Simulator eingebaut, daher läuft kein zusätzlicher Brückenprozess.
Was muss aktiviert sein, damit das funktioniert?
Der Build muss ROS 2 enthalten, und der Server muss mit der ROS-2-Option starten.
Funktioniert das mit der älteren Unreal-Version 5.5?
Nein. Diese Teile gibt es nur in der Linie Unreal 5.8.
Details
Originalbeschreibung des Autors
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
Beliebtheit
- GitHub-Sterne
- 15k
- Platz im Ranking
- #11135
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
create-leaderboard-route
15kHilft deinem Agenten, Routendateien für das CARLA Leaderboard zu erstellen, indem er Wegpunkte und Szenarien aus der Simulatorkamera setzt und prüft.
package-leaderboard-agent
15kHilft deinem Agenten, einen Fahragenten für die CARLA-Leaderboard-Einreichung in ein Docker-Image zu packen und zu prüfen, ob es ihn lädt.
read-leaderboard-results
15kHilft deinem Agenten, eine Ergebnisdatei des CARLA Leaderboards zu lesen, Punkte und Verstöße je Route zu erklären und Läufe neu zu bewerten.
run-leaderboard-evaluation
15kHilft deinem Agenten, die CARLA-Leaderboard-Bewertung auf vielen Routen auszuführen, mit vorheriger Prüfung und Checkpoints zum Fortsetzen.
Ähnliche Skills
test-driven-development
311kBringt deinem Agenten bei, vor jedem Feature oder Fix zuerst einen fehlschlagenden Test zu schreiben, ihn fehlschlagen zu sehen und dann den kleinsten passenden Code zu schreiben.
verification-before-completion
311kBringt deinem Agenten bei, echte Prüfungen auszuführen und ihre Ausgabe zu lesen, bevor er behauptet, eine Aufgabe, ein Fix oder ein Build sei fertig oder bestehe.
migrate-to-shoehorn
310kErsetzt riskante Typumwandlungen in deinen Testdateien durch die Bibliothek shoehorn, damit Tests mit unvollständigen Daten arbeiten und trotzdem die Typprüfung bestehen.