Perceiving Deformable Linear Objects 标志

Perceiving Deformable Linear Objects

组织
runtime-si
perceiving-deformable-linear-objects

Read a cable's ordered 3D centreline from one RGB-D frame and keep it current across a task — seed it from an unobstructed survey, re-fit it cold whenever the whole rod is in view, and fall back to tracking the carried prior only when the fresh fit comes back short. Use when a manipulation loop needs the current shape of a deformable linear object (a cable, rope, or hose) once per step rather than every frame, from a fixed third-person camera.

概览

发布者runtime-si
代码仓库RoboSkillHub
技能名称perceiving-deformable-linear-objects
星标数
242
复刻数
27
附带文件
1
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 runtime-si 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Perceiving Deformable Linear Objects AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/perceiving-deformable-linear-objects
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/runtime-si/RoboSkillHub.git /tmp/RoboSkillHub
mkdir -p .claude/skills
cp -r /tmp/RoboSkillHub/skills/perceiving-deformable-linear-objects .claude/skills/perceiving-deformable-linear-objects
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Perceiving Deformable Linear Objects,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Perceiving Deformable Linear Objects。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Perceiving Deformable Linear Objects 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

perceiving-deformable-linear-objects

Read the cable's centreline once per step, and carry it through the loop as text.

Why this is its own skill

A rigid object is perceived once and then transformed; a cable has no pose, only a shape, and the shape changes every time a crossing moves it. The thing a routing loop needs is therefore an ordered 3D centreline — 42 nodes in arc-length order, not a bounding box and not a principal axis — and a rule for when to trust a fresh reading of it over the one it already has. That rule is the skill: a cold fit has no history and is the better estimate whenever the whole rod is in frame; a tracker is the better estimate only when it is not. Which case a frame is in is measurable (length against the prior) and the script routes on it.

Measured over eight arm poses from a bench camera pitched 55 degrees off the vertical, scored against the rod's own bodies:

estimatemedianp90max
cold fit per frame6.7 mm8.4 mm9.3 mm
tracked from the prior9.0 mm9.7 mm9.9 mm

The tracker is the worse estimate when nothing is hidden, and monotonically so across passes (7.6, 8.6, 9.2, 9.6, 9.6, 9.9 mm): each pass drags the prior along instead of carrying a hidden stretch through. It is still the right fallback, because the cold fit's own failure is sharp rather than gradual — a skeleton broken by the arm merges to one fragment, measured at 338 mm of a 488 mm rod (0.69), while honest fits ran 0.99–1.06 of the truth. The whole_rod gate (0.80) sits between those two populations.

When to use

  • A loop needs the current shape of a cable, rope, or hose once per station or per step, and the shape only changes when the robot moves it.
  • A fixed third-person RGB-D camera can be placed where it sees the whole object. Measured: an eye-in-hand camera frames a fifth of the cable at best, and an A/B over three episodes came out identical (0.667 mean) — the move it costs buys nothing. Pitch the camera off the vertical: overhead, the hand covered the rod exactly when the rod was moving (28 of 42 nodes visible, 60 mm RMS); at 55 degrees it sees 41 of 42 and fits at 6.7 mm.

When NOT to use

  • Every-frame tracking during a motion. This skill spends one detector call and one fit per read; call it between motions, not inside one.
  • Rigid, linear parts (a shaft, a handle) — fit an axis with geometry.fit_linear_feature instead.

State flow

text
prior == "" or index == 0 ──► seed from scene.rod ──► found (seeded)
           │ no seed
           ▼
prior == "" ──► cold fit every mask candidate, take the THINNEST ──► found (initialised) | lost
           │ prior present
           ▼
for camera in (chosen, track_camera, init_camera):
    cold fit ──► length ≥ whole_rod × len(prior)? ──► found (refit)
    else track prior onto the frame ──► ≥ min_visible nodes seen? ──► found (tracked)
nothing improved ──► found (held; rod == prior)
  1. Seeded. On the first pass (index == 0) — or whenever there is no prior — the survey's rod (the scene JSON's rod key, from perceiving-routing-fixtures) is returned as the model. The model must be born from an unobstructed view of the whole object, and that view exists exactly once per episode, before the first move; re-fitting after the hand has parked over the first station read 381 mm of a 500 mm rod.
  2. Initialised. With no prior and no seed, the bench camera is read, up to mask_candidates masks are fitted, and the thinnest plausible one wins. The top-scoring mask is not always the cable: on a grey bench with white arms a prompt sometimes returns the rod merged with an arm, scored confidently — measured on a 700 mm rod as 963 and 983 mm seeds on two of six episodes, both of which failed. Radius (mask area over centreline length) separates them where score cannot; max_rod_radius (12 mm) is the ceiling.
  3. Refit. The look's camera is tried first, then track_camera, then init_camera. A fresh fit whose arclength reaches whole_rod of the prior's is taken as is.
  4. Tracked. A short fit hands the frame to curve.track_centerline, which moves the prior's nodes by what the frame says about each and carries the unanswered ones on the displacement field of their visible neighbours. The update is believed only when at least min_visible nodes (6, about 70 mm of a 500 mm rod) had real correspondence — a tracker that accepted every frame would walk the model onto whatever happened to be visible.
  5. Held. Nothing improved on the prior; it is handed back unchanged.

Inputs

  • prior — the centreline the loop carries, as JSON text; empty on a cold start. The graph binds it to the latest rod written upstream (the survey's on the first pass, this skill's own afterwards).
  • scene — the survey JSON from perceiving-routing-fixtures; only its rod is read here.
  • camera — the camera the look chose for this pass (empty: the bench camera).
  • index — the pass number; 0 is the pass before the first move.
  • Bench constants as parameters with the measured defaults: init_camera and track_camera ("cable"), rod_query ("thin white cable"), rod_score (0.20), whole_rod (0.80), min_visible (6), max_rod_radius (0.012), curve_nodes (42), mask_candidates (4).

Outputs

  • rod — the centreline as JSON text: the points of a Centerline, an ordered list of [x, y, z] metres at 0.01 mm precision. It is passed as text so it round-trips through a loop unchanged (json.loads gives the list; a JSON Centerline object with a points key is also accepted on the way in). On held and lost it is the prior that was given ("null" when there was none), so a pass never binds a worse model than it had.
  • arclength_m, source (seeded | initialised | refit | tracked | held | no-camera | no-mask | no-fit), camera (which view carried this update), visible (nodes with real correspondence; the node count for a fit).

The router field is route. A node that raises binds no outputs, so the next reader of rod falls back to whatever was written before it.

Required end states

End stateMeaning
foundrod carries a centreline (see source for how it was earned).
lostNo model could be born and there was no prior to hold.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Perceiving Deformable Linear Objects AI 技能有什么作用?

Read a cable's ordered 3D centreline from one RGB-D frame and keep it current across a task — seed it from an unobstructed survey, re-fit it cold whenever the whole rod is in view, and fall back to tracking the carried prior only when the fresh fit comes back short. Use when a manipulation loop needs the current shape of a deformable linear object (a cable, rope, or hose) once per step rather than every frame, from a fixed third-person camera.

为什么在 TypingMind 中使用 Perceiving Deformable Linear Objects?

因为您只需安装一次,就能搭配任何模型使用。Perceiving Deformable Linear Objects 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Perceiving Deformable Linear Objects?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/runtime-si/RoboSkillHub/tree/main/skills/perceiving-deformable-linear-objects。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Perceiving Deformable Linear Objects?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Perceiving Deformable Linear Objects 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Perceiving Deformable Linear Objects 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Perceiving Deformable Linear Objects AI 技能免费吗?

是的。runtime-si 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇