Measuring A Held Piece From The Wrist Cameraのロゴ

Measuring A Held Piece From The Wrist Camera

組織
runtime-si
measuring-a-held-piece-from-the-wrist-camera

平らな部品(ジグソーパズルのピース)がグリッパー内のどこにあるかを測定します。手首の深度フレーム1枚から、ツール中心に対するx、y、ヨー角、底面の高さを不確かさとともに求めます。ピック前に取得したマスクから部品の既知の俯瞰形状を当てはめ、ブレード越しにカメラが見ているものと照合します。部品上面の高さにある深度点は「ここに部品がある」、部品より下の表面上の点をその高さまで逆投影したものは「ここに部品はない」と判定し、想定グリップ位置の周囲を粗く検索してから細かく検索します。ピック時に部品がずれたり回転したりした可能性があり、配置時に正確なオフセットとヨー角が必要な場合(たとえばseating-a-piece-by-wiggle-searchのheld_offsetとyaw_error_deg)に使用します。ピック後と回転後の両方で実行してください。動作は行わず、CPUで約1.5秒です。

概要

公開者runtime-si
リポジトリRoboSkillHub
スキル名measuring-a-held-piece-from-the-wrist-camera
スター
242
フォーク
27
同梱ファイル
2
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    runtime-siがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Measuring A Held Piece From The Wrist Camera」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/measuring-a-held-piece-from-the-wrist-camera
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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/measuring-a-held-piece-from-the-wrist-camera .claude/skills/measuring-a-held-piece-from-the-wrist-camera
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでMeasuring A Held Piece From The Wrist Cameraを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にMeasuring A Held Piece From The Wrist Cameraを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Measuring A Held Piece From The Wrist Cameraは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

measuring-a-held-piece-from-the-wrist-camera

A pick puts the piece in the jaws a little off and a little turned (0.4-3.7 degrees in the YAM station twin), and a turn of the wrist adds more. A slot takes a piece only within a few tenths of a millimetre and a degree, so the place has to know where the piece really is. The wrist camera sees the held piece between and beyond the blades; most of it is hidden, but its shape is known from before the pick, so the visible part is enough to place the whole.

How

  1. Points. The wrist depth frame (every second pixel) is lifted to the world and to the tool frame. Points in the blade tips' footprint (15.5 x 3.9 mm either side of the grip width) are dropped.
  2. The piece's top is the densest 0.5 mm height bin from 3 to 22 mm under the tool centre (a held piece hangs its top 8-12 mm under it; the surface below is further). Points within 1 mm of it are the piece; points 4 mm or more below it are seen past it and are traced back along their rays to the piece's top height: free space there.
  3. Fit. The template is the piece mask (dilated 0.5 mm), its frame on the body centre (the mask opened to remove the knobs, minimum-area rectangle). A pose scores the piece points inside it minus half the free points inside it. The grid search covers +-8 mm and +-20 degrees round the prior in 1 mm / 2 degree steps, then +-1.5 mm and +-3 degrees in 0.25 mm / 0.5 degree steps.
  4. Uncertainty. The standard deviation of the poses scoring at least 97 % of the best; over 1.5 mm or 4 degrees is ambiguous.

Inputs

  • piece_mask, metres_per_pixel: the piece's top-down mask before the pick (e.g. from scanning-the-board-into-a-wrist-mosaic), its +u at image_yaw_deg in the world (0 for that mosaic).
  • prior: where the piece frame is expected in the world now, {x, y, yaw_deg} (after a pick: where it was, yaw 0 for the mosaic's mask; after a turn: that turned about the tool centre).
  • grip_width_m: the jaws' grip width (for the blade footprint).
  • camera (a CameraFrame) or camera_name; thickness (2 mm).

Outputs

tcp_piece {x, y, z, yaw_deg} (tool frame; z the piece's bottom under the tool centre), world_pose, sigma {x, y, yaw_deg}, n_piece_points, n_free_points, score, detail.

Measured

YAM station twin (jigsaw harness: a 21 x 24 mm, 2 mm piece held by its harness grip block, wrist D405 at the real station's calibrated pose; the template is the piece's mesh outline or its mosaic mask; truth is the piece body's pose):

casex / y / z erroryaw errorsigma reported
one held frame (offline), priors 0-6 mm and 0-15 deg off+0.16 / -0.52 / -0.09 mm (every prior)-1.5 deg0.26 / 0.24 mm, 1.3-1.5 deg
end-to-end chain, after the pick (mosaic mask), trial 0-0.17 / -0.48 / -0.09 mm-0.18 deg
same, trial 1+1.59 / +0.93 / -0.11 mm-1.1 deg
same, trial 1 after a 136 deg turn-0.45 / -2.13 / +0.33 mm-1.1 deg

169 piece points (every second pixel) are visible past the blades; a fit takes 1.2-1.5 s. Part of the 1-2 mm errors in the chain is the mosaic mask's own error (0.5 mm per pixel) and the body centre's definition (0.3 mm from the cell centre on this piece). More chain trials are in the pull request.

Limits

  • The shape must be known: a mask of the same piece from before the pick.
  • Flat parts held top-down only; the piece's top must be level within a few degrees (a tilted piece spreads its top over several height bins).
  • The prior must be within the search window (8 mm, 20 degrees).
  • Blade footprint and slab are the YAM linear_4310's (station model); other grippers need their numbers.

The constants, and why

SLAB_M 3-22 mm (blade tips 10 mm under the tool centre; a 2 mm piece held by its edge; the mat 30 mm under the tool 3 cm up), TOP_TOL_M 1 mm, FREE_BELOW_M 4 mm, BLADE_HALF_WIDTH_M 8.5 mm, BLADE_THICKNESS_M 4.5 mm, SEARCH_XY_M 8 mm, SEARCH_YAW_DEG 20, GOOD_FRACTION 0.97, MIN_POINTS 60, MAX_SPREAD_M 1.5 mm, MAX_SPREAD_DEG 4.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Measuring A Held Piece From The Wrist Camera」では何ができますか?

平らな部品(ジグソーパズルのピース)がグリッパー内のどこにあるかを測定します。手首の深度フレーム1枚から、ツール中心に対するx、y、ヨー角、底面の高さを不確かさとともに求めます。ピック前に取得したマスクから部品の既知の俯瞰形状を当てはめ、ブレード越しにカメラが見ているものと照合します。部品上面の高さにある深度点は「ここに部品がある」、部品より下の表面上の点をその高さまで逆投影したものは「ここに部品はない」と判定し、想定グリップ位置の周囲を粗く検索してから細かく検索します。ピック時に部品がずれたり回転したりした可能性があり、配置時に正確なオフセットとヨー角が必要な場合(たとえばseating-a-piece-by-wiggle-searchのheld_offsetとyaw_error_deg)に使用します。ピック後と回転後の両方で実行してください。動作は行わず、CPUで約1.5秒です。

TypingMindでMeasuring A Held Piece From The Wrist Cameraを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Measuring A Held Piece From The Wrist Cameraはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにMeasuring A Held Piece From The Wrist Cameraをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/runtime-si/RoboSkillHub/tree/main/skills/measuring-a-held-piece-from-the-wrist-cameraを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Measuring A Held Piece From The Wrist Cameraを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Measuring A Held Piece From The Wrist Cameraで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもMeasuring A Held Piece From The Wrist Cameraを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Measuring A Held Piece From The Wrist Camera」は無料ですか?

はい。runtime-siがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇