--- license: apache-2.0 authors: - Ajay Sridhar task_categories: - robotics tags: - tsfile - time-series - timeseries - robotics - lerobot - arx - teleop - long-cable - subtask - dagger - v3 modality: - timeseries - tabular pretty_name: Long Cable Insertion 2 Raw Plus DAgger 2x (TsFile) configs: - config_name: default data_files: - split: train path: data/long_cable_insertion_2_raw_plus_dagger2x_train.tsfile size_categories: - 10K `observation_state_0` ... `observation_state_13` - `observation.velocity[14]` -> `observation_velocity_0` ... `observation_velocity_13` - `action[14]` -> `action_0` ... `action_13` The table has 47 columns including `Time`: 2 TAG columns, 44 FIELD columns, and the TIME column. ## Conversion Notes - The shared config-driven `lerobot` converter is used; the dataset-specific Python file is a thin local orchestration and documentation entry point. - All 538 source frame Parquet files in the train split are merged into one table-model TsFile. Filter by `episode_index` and `task_index` to select a trajectory or routing subtask. - Vector columns are fully flattened into scalar fields. Full source prefixes are preserved and `.` is replaced with `_`. - The source `timestamp` column is the only published numeric source column not stored separately. It is redundant after the exact millisecond `Time` mapping (`timestamp = Time / 1000` seconds at the source's 50 Hz cadence). - The source `index` column is retained as `sample_index`; `frame_index` is retained unchanged. - No published frames, episodes, tasks, state dimensions, velocity dimensions, or action dimensions are intentionally dropped. ## Videos Videos are not duplicated in the converted repository. The pinned source has 1,614 frame-aligned MP4 files in three streams: - [`videos/observation.images.video_left/`](https://huggingface.co/datasets/ajaysri/long_cable_insertion_2_raw_plus_dagger2x/tree/e539e4d3a54766126424675ec3abe08f2414a60b/videos/observation.images.video_left) — 538 MP4 files - [`videos/observation.images.video_overhead/`](https://huggingface.co/datasets/ajaysri/long_cable_insertion_2_raw_plus_dagger2x/tree/e539e4d3a54766126424675ec3abe08f2414a60b/videos/observation.images.video_overhead) — 538 MP4 files - [`videos/observation.images.video_right/`](https://huggingface.co/datasets/ajaysri/long_cable_insertion_2_raw_plus_dagger2x/tree/e539e4d3a54766126424675ec3abe08f2414a60b/videos/observation.images.video_right) — 538 MP4 files The source template is `videos/{video_key}/chunk-{chunk_index:03d}/file-{file_index:03d}.mp4`. Each stream contains one file for each of the 538 episodes. Numeric TsFile rows remain aligned with the original videos through `episode_index`, `frame_index`, and the source metadata under `meta/episodes/`. ## Validation The generated TsFile is checked for successful Java-tool completion, non-zero size, table schema, and row-count equality with the staged Parquet. The expected and validated row count is 70,596; the source contains no duplicate `(episode_index, task_index, Time)` keys after millisecond conversion. ## Minimal Read Example ```python from tsfile import TsFileReader reader = TsFileReader("data/long_cable_insertion_2_raw_plus_dagger2x_train.tsfile") print(reader.get_all_table_schemas()["long_cable_insertion_2_raw_plus_dagger2x_train"]) reader.close() ``` ## Source and License The source dataset is published by [Ajay Sridhar (`ajaysri`)](https://huggingface.co/ajaysri) under the Apache License 2.0 and was created with [LeRobot](https://github.com/huggingface/lerobot). The source card does not provide a paper or completed citation, so none is inferred here.