run-autoware-ue58
ما الذي تفعله
تربط هذه المهارة برنامج القيادة الذاتية Autoware بمحاكي CARLA على Unreal Engine 5.8 ليتبادلا الرسائل مباشرة. وهي مخصصة للمهندسين الذين يريدون اختبار Autoware في حركة مرور محاكاة.
متى تستخدمها
- ✓عندما تريد اختبار برنامج القيادة الذاتية Autoware داخل CARLA.
- ✓عندما تحتاج إلى التحقق من الرسائل والمستشعرات التي يتشاركها النظامان.
- ✓عندما تحتاج إلى ملفات خرائط لـAutoware منشأة من مدينة في CARLA.
رابط المهارة
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue58/run-autoware-ue58/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل يمكنك مساعدتي في ربط Autoware بمحاكي CARLA على Unreal 5.8، والتحقق من تدفق الرسائل بينهما؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
ينشر المحاكي حالة السيارة وبيانات المستشعرات مباشرة إلى شبكة الرسائل، ويستمع إلى أوامر التحكم من 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
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
create-leaderboard-route
15kيساعد وكيلك على بناء ملفات مسارات CARLA Leaderboard بوضع نقاط الطريق ومحفزات السيناريوهات من كاميرا المحاكي، ثم فحصها وترتيبها.
package-leaderboard-agent
15kيساعد وكيلك على تغليف وكيل قيادة في صورة Docker لتقديمه إلى CARLA Leaderboard، مع فحص بنية المجلدات واختبار أن الصورة تحمّله.
read-leaderboard-results
15kيساعد وكيلك على قراءة ملف نتائج CARLA Leaderboard، وشرح درجة كل مسار ومخالفاته، وإعادة احتساب التشغيل بقواعد النسخة الأخرى.
run-leaderboard-evaluation
15kيساعد وكيلك على تشغيل مقيّم CARLA Leaderboard على مجموعة مسارات مع وكيل قيادتك، بفحص الإعداد أولًا وحفظ نقاط يمكن استئناف التشغيل منها.
مهارات مشابهة
test-driven-development
311kيعلّم وكيلك كتابة اختبار فاشل أولًا، ثم رؤيته يفشل، ثم كتابة أصغر شيفرة تنجحه، قبل بناء أي ميزة أو إصلاح.
verification-before-completion
311kيعلّم وكيلك تشغيل فحوصات حقيقية وقراءة نتائجها قبل أن يقول إن المهمة أو الإصلاح أو البناء مكتمل أو ناجح.
migrate-to-shoehorn
310kيستبدل تأكيدات النوع الخطرة في ملفات الاختبار بمكتبة shoehorn، حتى تتمكن الاختبارات من استخدام بيانات جزئية وتجتاز فحوص الأنواع.