Episodes Preview SO-101 Visualizer
100 episodes Β· 30 fps

so101_pick_pen (TsFile)

Apache TsFile version of jay88402/so101_pick_pen.

Overview

A LeRobot teleoperation dataset recorded with an SO-101 follower arm. Each record is one control frame of a single demonstration episode: the commanded action, the measured robot state, and the frame/task bookkeeping. The dataset covers one pick-and-place task.

  • Task: "Pick up the pen".
  • Scale: 100 episodes, 26,019 frames at 30 fps, 1 task.
  • Robot: so101_follower (6-DoF arm + gripper).
  • Modalities converted: the 6-D scalar observation.state and 6-D scalar action, plus frame_index/sample_index. The two camera video streams (observation.images.top, observation.images.wrist) are not included; see below.

Schema (TsFile structure)

  • Time (INT64, milliseconds) β€” round(timestamp * 1000), restarting at 0 for each episode.
  • episode_index (TAG) β€” episode/device dimension. Query one episode with WHERE episode_index=0.
  • task_index (TAG) β€” task id (single task, always 0).
  • frame_index, sample_index (INT64) β€” source frame number and global source row index.
  • action_0 .. action_5 (FLOAT) β€” commanded joint/gripper positions.
  • observation_state_0 .. observation_state_5 (FLOAT) β€” measured joint/gripper positions.

Vector columns are flattened element-wise (observation.state β†’ observation_state_0..5, action β†’ action_0..5). The source timestamp column is not retained because it equals Time Γ· 1000 seconds. The source ships the same 100 episodes twice β€” as per-episode episode_*.parquet files and as one consolidated file-000.parquet; only the per-episode files are converted so no row is counted twice.

Usage

Install the Apache TsFile Python SDK (pip install tsfile) and read a converted file:

from pathlib import Path
from tsfile import TsFileReader

path = Path("data/so101_pick_pen.tsfile")
with TsFileReader(str(path)) as reader:
    schemas = reader.get_all_table_schemas()
    print("tables:", list(schemas))
    table_name = next(iter(schemas))
    table = schemas[table_name]
    columns = [column.get_column_name() for column in table.get_columns()]
    print("columns:", columns)
    field_names = [
        column.get_column_name()
        for column in table.get_columns()
        if column.get_column_name() not in {"Time", "time"}
    ]
    if field_names:
        with reader.query_table(table_name, field_names[:3], batch_size=1024) as result:
            batch = result.read_arrow_batch()
            if batch is not None:
                print(batch.to_pandas().head())

Source & license

Downloads last month
119