본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트12k · #11551

rerun-data-model

하는 일

이 스킬은 변환 코드를 쓰기 전에 원시 로봇 또는 센서 데이터를 Rerun에서 어떻게 구성할지 AI가 결정하도록 돕습니다. Rerun 녹화를 위해 데이터셋을 준비하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓로봇 데이터를 Rerun .rrd 파일로 변환하거나 가져오려고 할 때.
  • ✓어떤 값이 엔티티, 컴포넌트, 녹화 속성인지 정해야 할 때.
  • ✓변환 코드를 쓰기 전에 매핑 표를 채우고 싶은 경우.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/rerun-io/rerun/blob/main/skills/rerun-data-model/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“로봇 데이터셋을 Rerun으로 변환하기 전에, 각 센서가 엔티티와 컴포넌트에 어떻게 대응해야 하는지 정하도록 도와주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 스킬은 엔티티 대 컴포넌트, 정적 값 대 시간 기반 값 같은 모델링 선택을 차례로 살펴보고, 변환 코드를 쓰기 전에 매핑 표를 채웁니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Rerun data model

The hard part of ingesting a dataset is the modeling decision, not the API call. Get the model right and any mechanism works; get it wrong and queries, views, and training all break. This skill is just the decisions. For mechanism details see rerun-chunk-processing (pipeline mechanics) and the importer skills it routes to: rerun-mcap,rerun-urdf,rerun-parquet, rerun-mp4, rerun-lerobot. For exact signatures, the docs at rerun.io/docs/concepts/logging-and-ingestion.

Before writing conversion code, fill in the mapping table below. It is the design, and a human can review it in seconds.

Pick the mechanism before you model the bytes

Modeling decides what each datum becomes; this decides how it gets there — and the default is a reader + lenses, not hand-built chunks:

  • Does a reader exist for this source? MCAP→McapReader, URDF→UrdfTree, parquet→ParquetReader, HDF5→Hdf5Reader, RRD→RrdReader, LeRobot dir→log_file_from_path. Yes → reader.stream() + lenses; the reader produces the chunks, you do not.
  • No, and it is genuine external metadata (JSON calibration, offsets) or a specific custom use case that can't be covered by a generic reader**→** Chunk.from_columns.
  • Otherwise: consider if you are about to hand-build something a reader or lens should produce and ask for clarification.

For MCAP specifically: a Foxglove- or ROS-decodable file emits archetypes like Transform3D, Pinhole, and VideoStream for certain supported message schemas ready-made — pass those through, never re-derive them; only custom protobuf signal topics need lenses. The full decision tree and the anti-pattern list are in rerun-chunk-processing.

The model

Dataset → Segment → Layer → Recording → Entity → Component → Chunk
  • Entity = a thing, named by a path (/robot/arm/camera). Component = one typed field on it (positions, image, a scalar). Archetype = a standard bundle of components that log and render together (Points3D, Image, Transform3D).
  • Every value you log sits on two axes: where (entity path + component) and when (which timeline, or static = all time).
  • Segment = one episode; on registration its recording_id becomes the segment_id. Layer = an extra .rrd on top of a segment. It attaches by matching the segment's recording_id and nothing else: that shared id is the whole layering mechanism.

The decisions

Entity vs component on an existing entity New entity if it has its own spatial frame (Transform3D/Pinhole), its own annotation context, or should be shown/cleared/shared independently (each robot link, each camera, each sensor). Same entity + extra component for auxiliary data at the same instances (per-point confidence). Use AnyValues for non-standard fields.

Property vs component vs layer (the most common confusion)

  • Component: per-timestamp signal on the timeline (joint angle, image).
  • Segment property: one-per-episode metadata for catalog filter/search (operator, robot, site, task, date). Not per timestamp.
  • Layer: a whole derived .rrd over a base segment (FK transforms, point clouds, gripper state, labels, quality scores). Queryable as if part of base.

Static vs temporal Static belongs to all timelines and shadows any temporal value of the same component on the same entity. Use it for invariants (calibration, coordinate frames, robot meshes, annotation context, a video asset). Never make per-frame data static.

Which timeline A timestamp timeline (ns since epoch) for cross-sensor clock alignment, a sequence timeline for frame/ordinal alignment; stamp on both when useful. Do not resample to a common rate. Latest-at reconciles multi-rate streams at query time by holding each component's last sample (no interpolation).

Base vs layer Base = faithful conversion of the raw streams, nothing computed. Layer = anything derived (FK from URDF + joint states, clouds from depth + intrinsics). Keep them separate .rrds.

The mapping table (produce before coding)

Source (topic/column/key) Entity path Archetype Component(s) Timeline Static/temporal Base/layer Property?
mcap
자주 묻는 질문

변환 코드도 작성하나요?

이 스킬은 설계 결정에 집중합니다. 세부 메커니즘은 rerun-chunk-processing 같은 관련 스킬에 있습니다.

정적 값이란 무엇인가요?

정적 값은 시간에 따라 바뀌지 않는 값이고, 시간 기반 값은 특정 시점마다 기록되는 값입니다.

어떤 소스 유형에 별도 스킬이 있나요?

이 스킬은 MCAP, URDF, Parquet, mp4, LeRobot 데이터를 각각 별도의 가져오기 스킬로 연결합니다.

상세 정보

작성자의 원본 설명

How raw multimodal robot data maps onto the Rerun data model. Read FIRST, before modeling or converting a dataset — and whenever you are about to convert/ingest/preprocess robot data into an .rrd or build a Rerun recording, even if not asked for the data model. Resolves the entity-vs-component, property-vs-component-vs-layer, and static-vs-temporal decisions and routes to the mechanism (do it with readers and lenses, not hand-built chunks or per-message rr.log): rerun-chunk-processing and the importer skills rerun-mcap, rerun-urdf, rerun-parquet, rerun-mp4, rerun-lerobot.

repo: rerun-io/rerun

인기도

GitHub 스타
12k
순위
#11551
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬