跳到正文
Skillpedia
其他15k · #11115

check-feature-support

它能做什么

这项技能告诉你,某项 CARLA 功能在你的模拟器版本上是否受支持、经过测试或已损坏。适合想在开始任务前获得可靠答案的人。

适用场景

  • ✓当你不确定 CARLA 在你的版本上能否实现某项功能时。
  • ✓当旧教程的步骤不起作用,你想知道该功能是否已知有问题时。
  • ✓当你想确认客户端和服务器版本是否匹配时。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/setup/check-feature-support/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“你能检查 CARLA 在我的版本上能否做到这一点,或者是否有经过测试的方法吗?”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会在内置列表中查找该功能,列表会标明每项功能是已覆盖、未记录、未测试还是已损坏。它还可以针对你已安装的模拟器测试该功能,并检查版本是否匹配。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Is this feature usable, and is there a procedure for it?

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 failure this prevents is specific: an agent asked to use an uncovered CARLA feature reconstructs a plausible procedure from UE4-era documentation, and it is wrong. Every row in this skill's [broken] list used to be a working, well documented UE4 workflow. Reciting those steps on ue58-dev produces a silent no-op, an empty result, or a crashed server.

So answer from this skill instead of from memory, and when the answer is "no vetted procedure exists", say that and offer to investigate.

Instructions

Progress:
- [ ] Step 1: bash scripts/check_env.sh   (no blockers — it reports probe depth)
- [ ] Step 2: matrix — find the feature's status
- [ ] Step 3: broken — read this BEFORE promising anything on 0.10.0
- [ ] Step 4: probe — confirm against this machine's build and server
- [ ] Step 5: version — only if a measurement looks impossible (skew check)
source scripts/env.sh

bash scripts/support.sh matrix     # the table (works with no CARLA)
bash scripts/support.sh broken     # verified-broken index, with evidence
bash scripts/support.sh probe      # this machine: flags, tree, live server
bash scripts/support.sh version    # the identity tuple + skew warnings

version: am I reasoning about the thing I am talking to?

"Which CARLA is this" has five answers that can disagree — installed client, server, source tree, content branch, engine — and a disagreement is silently wrong rather than loudly wrong. version prints all five plus the build flags, and warns on the two skews that cause wasted debugging:

  • client ≠ server. CARLA usually still connects, then misbehaves in ways that look like your own bug.
  • installed client older than the tree HEAD, or than a wheel built from it. You read a source change that the client you are calling does not contain. This is not hypothetical: it happened while these skills were being written, and it is why one API was briefly reported as removed when it had only moved class.

Note what version deliberately does not claim: that matching versions mean matching behaviour. ENABLE_ROS2 and ENABLE_RSS are compile-time, and the map-layer breakage is a property of the content branch — two servers reporting 0.10.0 can differ completely. Use matrix for behaviour; use version to establish that your measurements are even about the right target.

Engine lines, and the version number

UE 5.8 (ue58-dev) is the line that continues, and it is the one released as CARLA 1.0. UE 5.5 (ue5-dev) is an earlier revision of the same line, not a fork: PythonAPI/carla/src/Sensor.cpp is byte-identical between them. So the verdicts below apply to both engines unless a row says otherwise, and the five features 5.5 lacks are catalogued in [[check-ue5-limitations]].

On the version string. Every measurement here was taken on a pre-release ue58 build, which reports 0.10.0 — that is the number version will print on those, and the number 5.5 reports today. Read 0.10.0 below as naming the UE5 line: 1.0 renamed it, it did not change the behaviour underneath. Where a verdict is genuinely engine-specific the row says so.

The four verdicts, and what each obliges you to do

Verdict Meaning What to do
[skill] a vetted procedure exists here invoke that skill; do not improvise
[works] verified working, no skill use the API directly, say it is unvetted
[untested] in the build, never exercised here say so, offer to investigate, do not write steps
[broken] verified broken or removed on 0.10.0 say so, name the alternative if one exists

What probe adds that the matrix cannot

Two features are gated by compile-time flags that no runtime check reveals, and every -D option must be repeated on each re-configure — so the CMake cache is the only honest source:

  • ENABLE_RSS — sensor.other.rss appears in the blueprint library either way, and cannot function without it. On the tree measured here it is OFF.
  • ENABLE_ROS2 — no native ROS 2 interface at all without it, and it cannot be switched on at runtime ([[run-autoware-ue58]], [[build-carla-ue58]])
常见问题

为什么不直接使用我找到的旧教程?

许多旧步骤来自早期版本,在较新的版本上可能悄无声息地失败,或导致模拟器崩溃。

如果没有经过测试的步骤怎么办?

这项技能会直接说明情况,并提出进一步调查,而不是随便猜测。

它需要模拟器正在运行吗?

不需要。第一项检查无需运行即可完成,更深入的测试才需要运行中的模拟器。

详情

作者的原始描述

Answers "can CARLA do X here, and is there a vetted procedure for it" before you promise anything, and detects client/server/tree version skew — a support matrix over the whole collection (covered by a skill / works but undocumented / present but untested / broken or removed), an index of the features that are verified BROKEN on 0.10.0 (gbuffers crash the server, map layers do nothing, Landmark.waypoint is None, standalone asset packages are gone), and a probe that reports what this machine's build flags and running server actually offer. Use when the user asks whether CARLA supports something

repo: carla-simulator/carla

热度

GitHub 星标
15k
排名
#11115
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能