本文へスキップ
Skillpedia
分析とスプレッドシート12k · #11558

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がスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/rerun-io/rerun/blob/main/skills/rerun-urdf/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

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, then from 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 to UrdfTree.from_file_path fails to parse.
  • package:// mesh URIs. The importer resolves them by scanning ROS_PACKAGE_PATH (ROS 1) and AMENT_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

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル