Skillpedia
النشر والسحابة (DevOps)15k · #11116

download-carla

ما الذي تفعله

تنزّل هذه المهارة محاكي القيادة CARLA إلى حاسوبك بالشكل الذي تختاره. وهي مخصصة لمن يريد تثبيت المحاكي دون البحث عن الملفات يدويًا.

متى تستخدمها

  • ✓عندما تريد الحصول على أحدث إصدار رسمي من CARLA على حاسوبك دون بحث.
  • ✓عندما تريد أحدث بناء ليلي، وهو يُحدَّث بانتظام.
  • ✓عندما تحتاج إلى الكود المصدري أو صورة Docker بدلًا من حزمة جاهزة للتشغيل.

رابط المهارة

https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/setup/download-carla/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/setup/download-carla/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“هل يمكنك تنزيل أحدث إصدار رسمي من CARLA لي، وإخباري بالمكان الدقيق الذي حُفظ فيه؟”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يفحص الوكيل حاسوبك أولًا، ثم يجلب النسخة التي تختارها ويبلغ بالمكان الدقيق للملفات. ويسجّل مسارات الملفات حتى تستطيع مهارات CARLA الأخرى العثور عليها.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Download CARLA

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.

The first link in the chain: get CARLA onto the machine and say precisely what landed where, so the skills that follow — [[install-python-api]], [[run-carla-server]], [[build-carla-ue4]] — need no guesswork from the user.

Four ways to obtain CARLA, and the choice is the only real decision:

Mode Gives you Ready to run? Size
release an official package, extracted yes ~8-10 GB (+15 GB maps)
nightly the rolling Dev build, extracted yes ~8.4 GB (UE4) / ~15.7 GB (--ue5)
git a source checkout of a branch/tag no — must be built ~1 GB (content is separate, ~31 GB)
docker the carlasim/carla image yes, in a container image-sized

Instructions

Progress:
- [ ] Step 1: Check prerequisites (bash scripts/check_env.sh), clear FAILs
- [ ] Step 2: list / resolve — see what exists and what it will cost
- [ ] Step 3: fetch it (release | nightly | git | docker)
- [ ] Step 4: record the path with `set_config`, then hand over to the next skill

Step 1: Check prerequisites

bash scripts/check_env.sh

It fails early on the things that waste a multi-GB download: no network to the API or the CDN, an unwritable destination, or too little disk (a release needs ~19 GB with extraction; --with-maps another ~15 GB).

Steps 2-3: look, then fetch

source scripts/env.sh

python3 scripts/download_carla.py list                       # versions + what each offers
python3 scripts/download_carla.py resolve --version 0.9.16   # real URLs + sizes, no download

python3 scripts/download_carla.py release                    # newest stable, extracted
python3 scripts/download_carla.py release --version 0.9.15 --with-maps
python3 scripts/download_carla.py nightly
python3 scripts/download_carla.py nightly --ue5              # the UE5 line, Linux only
python3 scripts/download_carla.py git --ref ue4-dev
python3 scripts/download_carla.py docker --version 0.9.16

--dry-run on any fetching command prints the exact curl/git/docker command and changes nothing. --dest DIR (or CARLA_DOWNLOAD_DIR) chooses where things land; the default is ~/carla-downloads.

Downloads are resumable and idempotent: an interrupted run continues where it stopped, and a complete archive is never fetched twice. The size is checked against the server's Content-Length before extraction, and the archive is deleted afterwards unless you pass --keep-archive.

Step 4: the handover

Every command ends with a block naming what you now have:

=== obtained ===
  kind    : release
  version : 0.9.16
  path    : /home/me/carla-downloads/CARLA_0.9.16
  launcher: /home/me/carla-downloads/CARLA_0.9.16/CarlaUE4.sh

  export these for the other skills:
    export CARLA_TARGET=/home/me/carla-downloads/CARLA_0.9.16
    # run it:             run-carla-server
    # install the client: install-python-api   (uses the wheel inside it)

That is the point of the skill: CARLA_TARGET makes [[run-carla-server]] detect and launch it with no further configuration, and [[install-python-api]] finds the matching client wheel inside the download — so the client can never mismatch the simulator.

A checkout instead prints CARLA_UE4_ROOT and points at [[build-carla-ue4]], because a checkout cannot run until it is built.

Why URLs are resolved, never constructed — and never trusted

The filename scheme is not stable across the CARLA line. Verified live:

0.9.16  ->  Linux/CARLA_0.9.16.tar.gz                8.3 GB
0.9.16  ->  Linux/AdditionalMaps_0.9.16.tar.gz      14.8 GB
0.10.0  ->  Linux/Carla-0.10.0-Linux-Shipping.tar.gz 10.4 GB   <- different scheme

So the skill reads the GitHub release body (the authority for the filename, always current), which is also why a newly published version — 1.0 included — needs no change here: list and resolve see it as soon as GitHub does. Constructing CARLA_<version>.tar.gz would 404 on the 0.10 (UE5) line. GitHub releases themselves carry no attached assets — the links in the body are the only source.

The host in those links, however, is stale for everything before 0.9.16: they point at tiny.carla.org, which still 308-redirects

الأسئلة الشائعة

كم من المساحة تحتاج؟

يتوقف ذلك على الخيار. الإصدار الرسمي نحو 8 إلى 10 غيغابايت، إضافة إلى نحو 15 غيغابايت للخرائط الإضافية.

هل النسخة المصدرية جاهزة للتشغيل؟

لا. يجب بناء النسخة المصدرية أولًا قبل تشغيلها، أما الإصدار أو البناء الليلي فجاهزان للاستخدام.

ما البناء الليلي؟

هو بناء تطويري متجدد يُحدَّث كثيرًا، لذلك يتغير أكثر من الإصدار الرسمي.

التفاصيل

الوصف الأصلي من المؤلف

Downloads CARLA so nothing has to be fetched by hand — an official release package for any published version (resolved live from the GitHub releases, with AdditionalMaps), the rolling nightly Dev build, a shallow source checkout of a branch or tag, or the carlasim/carla Docker image. Reports exactly what was obtained and where, plus the environment variables the other skills read. Use when the user asks to "download CARLA", "get CARLA 0.9.16", "install CARLA", "clone the carla repo", "fetch the latest CARLA", or has no CARLA at all yet.

repo: carla-simulator/carla

الشعبية

نجوم GitHub
15k
الترتيب
#11116
الترخيص
MIT
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة