rerun-urdf
できること
このスキルは、ロボットの記述ファイル(URDF)をRerunの記録に読み込み、関節の値で動かす方法を示します。ロボットの動く部品をデータと一緒に見たい人向けです。
使う場面
- ✓URDFファイルのロボットモデルを、Rerunの記録に表示したいとき。
- ✓関節の値から、ロボットの各部品の位置を計算する必要があるとき。
- ✓シーンのフレームが一つのルートにつながらず、変換の木が切れているとき。
スキルのリンク
https://github.com/rerun-io/rerun/blob/main/skills/rerun-urdf/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“URDFのロボットモデルをRerunに読み込み、私の関節データに合わせて動かすにはどうしますか。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは2つの手順を説明します。まず静的なロボットモデルを読み込み、次に関節の値を順運動学に通して各部品を配置します。その結果が、記録の上に別のレイヤーとして追加されます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Rerun URDF ingestion
A URDF gives you a robot's geometry and its kinematic tree.
Ingesting it means two API calls on one rerun.urdf.UrdfTree: stream the static model, then drive it with forward kinematics from joint states. The transforms it produces are derived, so they are a layer, never base (the URDF + joints (computed) row of the rerun-data-model table).
This skill is the UrdfTree API and the two judgment calls it cannot make for
you: how your joint values map to URDF joints, and how the disconnected frames
in the scene connect to one root. The stream/lens plumbing (LazyChunkStream,
DeriveLens, Selector, writing and optimizing RRDs) is in
rerun-chunk-processing; reach for it, do not re-derive it. Nothing below is
tied to a data format: where your joint names, joint values, and calibration
come from is yours to wire in.
Getting the URDF
Datasets rarely ship one, and the robot's own repo is not always the fastest route. In order:
robot_descriptions.py—pip install robot_descriptions, thenfrom robot_descriptions import ur5e_description; ur5e_description.URDF_PATH. It downloads and caches the upstream description and hands you a plain path with the meshes already next to it. Check its index first; it covers most of the table below.- The vendor repo, when the description is newer than the package's pin or is not in it.
- MuJoCo Menagerie — MJCF, not URDF, so it needs conversion. Worth it only when nothing else exists.
| Robot | Source | Notes |
|---|---|---|
| SO-100 / SO-101 (LeRobot) | TheRobotStudio/SO-ARM100 | Simulation/SO100/so100.urdf, Simulation/SO101/so101_new_calib.urdf; plain URDF, relative mesh paths |
| ALOHA (ViperX 300, WidowX) | Interbotix/interbotix_ros_manipulators | xacro |
| Franka Panda / FR3 | frankaemika/franka_description | xacro |
| Universal Robots UR3 to UR20 | UniversalRobots/Universal_Robots_ROS2_Description | xacro, arm parameters in YAML |
| Kinova Gen3 | Kinovarobotics/ros2_kortex | xacro |
| UFactory xArm / Lite 6 | xArm-Developer/xarm_ros2 | xacro |
| Unitree Z1, G1, H1, Go2 | unitreerobotics/unitree_ros | plain URDF per robot |
Two things bite before FK ever runs:
- xacro is not URDF. First run
xacro arm.urdf.xacro > arm.urdf(pip install xacro), passing whatever arguments the file requires (gripper variant, arm size). A xacro file handed toUrdfTree.from_file_pathfails to parse. package://mesh URIs. The importer resolves them by scanningROS_PACKAGE_PATH(ROS 1) andAMENT_PREFIX_PATH(ROS 2) for the package, and otherwise treats the rest of the URI as relative to the URDF's own directory. Outside a sourced ROS work
よくある質問
データセットにURDFがない場合はどこで手に入りますか?
このスキルは、まずrobot_descriptionsのPythonパッケージを勧め、次にロボットの製造元のリポジトリを勧めます。
関節の名前をURDFとどう対応させるか知る必要がありますか?
はい。関節の値をURDFの関節に対応づけることは、あなた自身が決めることだとしています。
ロボットにセンサーを配置できますか?
はい。固定された変換の連なりを組み合わせて、ロボットに対してセンサーを配置する方法に対応しています。
詳細
作者による元の説明
Drive the Rerun URDF API (rerun.urdf.UrdfTree) to ingest a URDF as a Transform3D layer on a robot recording. Read when logging a robot model, running forward kinematics from joint states, composing a fixed chain for sensor extrinsics, or when the transform tree will not connect from the data alone. Builds on rerun-chunk-processing (stream/lens mechanics) and rerun-data-model (entity paths, timeline, base-vs-layer).
repo: rerun-io/rerun
人気
- GitHubのスター
- 12k
- ランキング
- #11558
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
investigate-puffin
12kPuffinプロファイラーの記録(.puffinファイル)を調べ、遅いコード箇所を見つけ、変更前後のトレースを比較するようエージェントを支援します。
rerun-blueprint
12kブループリントを書いてRerunビューアーの見た目を変える方法を、レイアウト、ビュー、非表示の列を含めてエージェントに教えます。
rerun-catalog-queries
12k往復回数、データ量、遅いデータセットの読み取りに関するヒントを使い、PythonからRerunカタログへのクエリを速くするようエージェントを支援します。
rerun-chunk-processing
12kreaderとlensを使ってMCAP、Parquet、動画、RRDのファイルを録画に変換するRerunのデータパイプラインを作る方法をエージェントに教えます。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。