Chuyển đến nội dung
Skillpedia
Phân tích và bảng tính12k · #11558

rerun-urdf

Skill này làm gì

Skill này chỉ cách nạp file mô tả robot (URDF) vào bản ghi Rerun và điều khiển nó bằng giá trị khớp. Dành cho người muốn xem các bộ phận chuyển động của robot cùng dữ liệu của họ.

Khi nào nên dùng

  • ✓Khi bạn muốn hiển thị mô hình robot từ file URDF trong bản ghi Rerun.
  • ✓Khi bạn cần tính vị trí từng bộ phận robot từ giá trị khớp.
  • ✓Khi các khung trong cảnh không nối về một gốc chung và cây transform bị đứt.

Liên kết skill

https://github.com/rerun-io/rerun/blob/main/skills/rerun-urdf/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/rerun-io/rerun/blob/main/skills/rerun-urdf/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Làm sao để nạp mô hình robot URDF vào Rerun và cho nó chuyển động theo dữ liệu khớp của tôi?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill giải thích hai bước: đầu tiên nạp mô hình robot tĩnh, sau đó gửi giá trị khớp qua động học thuận để đặt từng bộ phận. Kết quả được thêm như một lớp riêng trên bản ghi.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

Tôi lấy file URDF ở đâu nếu bộ dữ liệu không có?

Skill gợi ý gói Python robot_descriptions trước, rồi đến kho mã của nhà sản xuất robot.

Tôi có cần biết tên khớp khớp với URDF thế nào không?

Có. Skill nói rằng việc ánh xạ giá trị khớp của bạn với các khớp URDF là lựa chọn bạn tự quyết định.

Nó có đặt được cảm biến lên robot không?

Có. Nó bao quát việc ghép một chuỗi transform cố định, có thể định vị cảm biến so với robot.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
12k
Vị trí xếp hạng
#11558
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự