Skip to content

Training Formats: LeRobot, RLDS and Friends

A recording container is built for capture: it appends time-stamped packets in arrival order. A training format is built for policy learning: it organises thousands or millions of episodes so a data loader can sample random frames, slice short time windows and normalise states and actions without opening millions of small files. VRS, MCAP’s byte layout and GPMF are on the recording formats page; this page covers the training side.

Current public egocentric releases often ship two representations of the same recordings. Lightwheel’s head-only EgoStandard and head-plus-wrist EgoPro are published as MCAP and as LeRobot datasets, and both cards warn: “LeRobot and MCAP are alternative representations of the same episodes and must not be counted as additional hours.” Other releases pick one: MCAP per episode (Gen-HumanEgo), MP4 plus HDF5 (Xperience-10M), or WebDataset shards for video-only corpora (Egocentric-10K). The rigs are described in Current Capture Rigs (2025–2026).

In short:

  • LeRobotDataset v3.0 for PyTorch imitation learning, vision-language-action (VLA) fine-tuning and release on the Hugging Face Hub.
  • MCAP alongside it when episodes carry streams at different rates, calibration, custom pose messages or quality flags that people inspect before training.
  • MP4 plus HDF5, or Zarr, when the training loop reads dense per-frame arrays (skeletons, depth, trajectories) directly.
  • RLDS mainly to read existing TensorFlow robot datasets such as Open X-Embodiment; LeRobot documents converting them (Porting datasets to v3).

For the field guide’s terms in one place, grouped by topic, see the glossary.

Term Meaning
Episode (trajectory, demonstration) One continuous recording of a task from start to finish: a sequence of time-aligned observations and actions.
Shard (chunk file) One large file (Parquet, MP4, TFRecord, .tar) that packs many episodes, so storage handles fewer, larger files.
Feature A named per-frame field with a dtype and shape, such as observation.state or observation.images.<camera>. In LeRobot the schema of all features lives in meta/info.json.
observation.state A per-frame vector describing the agent’s configuration: joint angles and gripper opening for a robot; wrist pose and finger joints for a human hand.
action The command or motion target at a timestep, either absolute (a target pose) or relative (a delta to the next frame).
RLDS Reinforcement Learning Datasets: Google’s episode/step convention, built and loaded through TensorFlow Datasets (TFDS) and stored as TFRecord shards.
Action chunk Future actions predicted together, for example 100 steps over one second.
MCAP An open container for timestamped publish/subscribe messages with embedded schemas, compressed chunks and an index (MCAP specification).
rosbag2 ROS 2’s recording tool. MCAP is its default storage plugin (rosbag2 README).
HDF5 A single-file container of named, typed n-dimensional arrays arranged in groups, read in Python with h5py.
Zarr A format for chunked, compressed n-dimensional arrays stored as many objects in a directory, zip file or cloud bucket.
WebDataset A convention of plain .tar shards in which files that share a name prefix (clip.mp4, clip.json) form one sample, read sequentially.
Format Layout Video States, poses and labels Calibration Licence of reference tooling Examples
LeRobotDataset v3.0 data/chunk-*/file-*.parquet, videos/<camera>/chunk-*/file-*.mp4, meta/ MP4 shards per camera, many episodes per file Parquet columns; schema in meta/info.json, statistics in meta/stats.json No standard field; ship extra files in meta/ lerobot: Apache-2.0 RoboX lerobot-dataset, ported DROID
LeRobotDataset v2.1 One Parquet and one MP4 per camera per episode; JSON Lines metadata One MP4 per camera per episode Parquet per episode; per-episode stats in meta/episodes_stats.jsonl Same: extra files in meta/ lerobot before 0.4.0 MundoAI-Robotics-Sample
RLDS (TFRecord) TFDS dataset of sharded TFRecord files Image tensors inside each step Nested episodes of steps (observation, action, reward, discount, is_first, is_last, is_terminal) Not standardised rlds: Apache-2.0 Open X-Embodiment, DROID 1.0.1
MCAP One self-describing file per recording Compressed image or video messages on per-camera topics Timestamped messages (Protobuf, ROS 2 CDR, JSON) on separate topics Attachment records or calibration topics mcap: MIT Gen-HumanEgo, EgoStandard
HDF5 One .hdf5 file per dataset (robomimic) or per episode (ACT, EgoDex) uint8 image arrays inside the file, or MP4 files next to it Named groups of arrays Groups or attributes in the file robomimic: MIT; ACT: MIT robomimic, ACT, EgoDex, Xperience-10M
Zarr Directory, zip or bucket of chunked arrays Array chunks or external video Groups of arrays Attributes or arrays zarr-python: MIT UMI replay buffers
WebDataset .tar shards of paired files .mp4 files inside the shard .json file per clip File outside the shards webdataset: BSD-3-Clause Egocentric-10K, Egocentric-100K
Per-clip folder (a vendor’s delivery layout) One folder per clip, with a manifest of every clip at the root One .mp4 per camera (HEVC) .npz arrays for hand and head pose, .json for captions and metadata, a text or binary IMU file A JSON calibration file in each clip folder None: plain MP4, NumPy and JSON Build AI shop deliveries

Licences are the GitHub repositories’ as reported by the GitHub API on 7 November 2026; a dataset’s own licence is set on its card.

LeRobotDataset is Hugging Face’s dataset format for the lerobot library. Version 3.0 ships in lerobot >= 0.4.0 (LeRobotDataset v3.0 docs); lerobot 0.4.0 was released on 23 October 2025 and the latest release is 0.7.0 (5 November 2026). States, actions and timestamps go in Apache Parquet tables, camera frames in MP4, and metadata in JSON and Parquet.

In v2.x every episode had its own files. The path templates in lerobot 0.3.3 are data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet and videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4, with meta/info.json, meta/episodes.jsonl and meta/tasks.jsonl (lerobot 0.3.3 datasets/utils.py). The step from v2.0 to v2.1 replaced the single meta/stats.json with per-episode statistics: the converter “Generate[s] per-episodes stats and writes them in episodes_stats.jsonl” and removes “the deprecated stats.json” (convert_dataset_v20_to_v21.py). Millions of small files strain file systems and object stores, which v3.0 fixes.

The LeRobotDataset v3.0 docs explain: “To scale to millions of episodes, tabular rows and video frames from multiple episodes are concatenated into larger files.” Episode boundaries come from metadata offsets, not filenames.

dataset/
├── meta/
│ ├── info.json # feature schema (names, dtypes, shapes), fps, codebase version, path templates
│ ├── stats.json # global mean/std/min/max per feature, used for normalisation
│ ├── tasks.parquet # natural-language tasks mapped to integer task_index
│ └── episodes/chunk-000/file-000.parquet # per-episode lengths, tasks, and offsets into the data and video shards
├── data/
│ └── chunk-000/file-000.parquet # frame-by-frame rows; many episodes per file
└── videos/
└── <video_key>/chunk-000/file-000.mp4 # one MP4 stream per camera; many episodes per file
Where one episode lives in LeRobot v2.1 and v3.0 Two panels. Left, LeRobotDataset v2.1: every episode has its own files, one Parquet file per episode under data/chunk-000 (episode_000000.parquet, episode_000001.parquet, episode_000002.parquet and so on) and one MP4 per camera per episode under videos/chunk-000/camera name, so the file count grows with episodes times cameras. Right, LeRobotDataset v3.0: rows from many episodes are concatenated into one Parquet shard, data/chunk-000/file-000.parquet, and frames from the same episodes into one MP4 shard per camera, videos/camera name/chunk-000/file-000.mp4. A row in meta/episodes holds each episode's length, task and offsets; arrows from the row for episode 1 point to its range of rows in the data shard and its time range in the video shard. A new shard starts at about 100 MB for data and 200 MB for video by default, with up to 1,000 files per chunk folder. Where one episode lives: LeRobot v2.1 and v3.0 v2.1: one file per episode v3.0: many episodes per file data/chunk-000/ episode_000000.parquet episode_000001.parquet episode_000002.parquet … videos/chunk-000/<camera>/ episode_000000.mp4 episode_000001.mp4 episode_000002.mp4 … Files = episodes × (1 + cameras): millions of small files strain file systems and object stores. meta/episodes/chunk-000/file-000.parquet episode 0: length, task, offsets episode 1: length, task, offsets episode 2: length, task, offsets data/chunk-000/file-000.parquet ep 0 ep 1 ep 2 ep 3 … videos/<camera>/chunk-000/file-000.mp4 ep 0 ep 1 ep 2 ep 3 … frame rows: episode 1 is a row range in the shard one MP4 per camera: episode 1 is a time range New shard at about 100 MB (data) or 200 MB (video); up to 1,000 files per chunk folder (lerobot defaults).
Why LeRobotDataset v3.0 changed the layout. In v2.1 every episode has its own Parquet file and one MP4 per camera, so the file count grows with episodes times cameras. In v3.0 many episodes are concatenated into each Parquet shard and each camera's MP4 shard, and a row in meta/episodes records each episode's length, task and offsets, which locate it as a row range in the data and a time range in the video. Shard sizes are lerobot's defaults. Sources: the LeRobotDataset v3.0 docs and lerobot's datasets/utils.py (v0.3.3 for v2.1, main for v3.0).

The code’s path pattern is chunk-{chunk_index:03d}/file-{file_index:03d}, with defaults of 1,000 files per chunk, 100 MB per data file and 200 MB per video file (lerobot datasets/utils.py). Every frame row carries five default features: timestamp (float32), frame_index, episode_index, index and task_index (int64) (lerobot utils/constants.py). Camera features are named observation.images.<camera>; DROID’s port, for example, declares observation.images.wrist_left, observation.images.exterior_1_left and observation.images.exterior_2_left with dtype video (Porting datasets to v3).

meta/info.json has no field for camera intrinsics or extrinsics (see How Public Datasets Ship Calibration). Egocentric releases add their own files under meta/: MundoAI-Robotics-Sample puts “camera intrinsics + head-to-camera offset, keyed by device” in meta/calibrations/dev_003.json, and RoboX’s dataset adds meta/robox_feature_semantics.json and meta/robox_training_hints.json for units and normalisation, and meta/robox_frame_masks.parquet for per-frame imputation flags.

v3.0 writes Parquet incrementally and buffers episode metadata, so: “When creating or recording datasets, you must call dataset.finalize() to properly close parquet writers.” Call it after the last save_episode() and before push_to_hub(); without it the Parquet files are incomplete and the dataset won’t load (LeRobotDataset v3.0 docs).

From the LeRobotDataset v3.0 docs:

  • Time windows. delta_timestamps takes offsets in seconds per feature. With {"observation.images.front_left": [-0.2, -0.1, 0.0]}, each sample returns a [T, C, H, W] stack with T = 3.
  • Episode boundaries. LeRobot’s delta_window function clamps every window “to the episode rows” and “Returns the clamped row indices and a boolean mask marking the positions that fell outside the episode and were padded with its first or last row” (lerobot datasets/utils.py); the mask reaches the sample as <feature>_is_pad. The reason is that in a v3.0 file the row after an episode’s last frame is the first frame of a different episode, often another task or scene. A window allowed to run on would pair the current observation with actions that never followed it. A custom loader has to keep the same rule, and the padded positions are repeats, not recorded motion.
  • Streaming. StreamingLeRobotDataset in Python, or --dataset.streaming=true on the command line, trains without downloading first: episodes are fetched into a bounded in-memory pool, and every selected frame is still visited once per epoch. It also reads from Hugging Face Storage Buckets (hf://buckets/...).
  • Image augmentation. Transforms such as ColorJitter, SharpnessJitter, RandomAffine, MotionBlur and PlanckianJitter run at training time only; recorded frames are stored without them. With several cameras, augmenting in the data loader workers can leave the GPU waiting; --dataset.image_transforms.backend=gpu makes the workers only decode and runs the transforms per batch on the GPU. gpu_compile (default on) “costs 15-30 s once per image shape”; gpu_chunk_size (default 32) bounds memory.
  • LanceDB backend. The lerobot-lancedb package converts a v3.0 dataset into a frames table for the rows and a videos table holding the MP4s as blobs; meta/ is unchanged and storage_format in meta/info.json is set to lance. Conversion is “about the cost of a file copy. Videos are not re-encoded, so items are bit-identical to the source. DROID converts in 34 minutes.” The Lance copy is read-only: record and edit in the default format.
  • From v2.1: python -m lerobot.scripts.convert_dataset_v21_to_v30 --repo-id=<HF_USER/DATASET_ID> merges per-episode Parquet and MP4 files into file-NNN shards and writes meta/episodes/ (LeRobotDataset v3.0 docs).
  • From RLDS, at scale: the porting guide uses DROID 1.0.1 (76,000+ trajectories from Franka Emika Panda robots; 8.7 TB raw, 1.7 TB as RLDS in 2,048 TensorFlow dataset shards). On one machine porting takes 7+ days and uploading 3+ days, for about 400 GB of output, so the guide uses SLURM jobs with datatrove: slurm_port_shards.py --workers 2048 --cpus-per-task 8 --mem-per-cpu 1950M, then slurm_aggregate_shards.py, then slurm_upload.py --workers 50.

A Hub dataset is a Git repository with a README.md card whose YAML header sets the licence, tags and, under configs, which files the Dataset Viewer and the datasets library load. MundoAI’s card, for example, declares license: cc-by-4.0, the tag LeRobot, and data_files with path: data/chunk-*/episode_*.parquet (MundoAI-Robotics-Sample). Datasets can be gated behind accepted conditions, as RoboX, MundoAI and Gen-HumanEgo are. Non-LeRobot data is read with the datasets library (huggingface/datasets, Apache-2.0); Build AI’s cards show load_dataset(..., streaming=True) for their WebDataset shards (Egocentric-10K).

RLDS (Apache-2.0) is “an ecosystem of tools to store, retrieve and manipulate episodic data”. Its README describes a dataset as a tf.data.Dataset of episodes, each holding a nested tf.data.Dataset of steps. Each step has the mandatory fields is_first and is_last, and optional observation, action, reward, discount and is_terminal; episode metadata (such as episode_id) is user-defined. Datasets are built and loaded through TensorFlow Datasets and stored as TFRecord shards.

Open X-Embodiment (Open X-Embodiment Collaboration; ICRA 2024) pooled existing robot datasets in RLDS: data from 22 robots, “a collaboration between 21 institutions”, “demonstrating 527 skills (160266 tasks)”. The data accommodates “differing numbers of RGB cameras, depth cameras and point clouds”, but RT-1-X and RT-2-X were trained on one canonical camera view per dataset. Its code repository, google-deepmind/open_x_embodiment, is Apache-2.0. It contains robot data only, no human egocentric video.

RLDS is tied to the TensorFlow input pipeline, and it is bulky for video: DROID is 1.7 TB as RLDS against about 400 GB after porting to LeRobot v3.0 (Porting datasets to v3).

HDF5: robomimic, ACT and egocentric datasets

Section titled “HDF5: robomimic, ACT and egocentric datasets”

Two widely used HDF5 layouts come from code repositories rather than a standard.

  • robomimic (dataset docs, MIT): one HDF5 file per dataset. A data group holds one group per trajectory (demo_0, demo_1, …), each with actions, rewards, dones, states and an obs group (one array per observation key), plus next_obs. An optional mask group holds filter keys such as train and valid. Actions are expected to be normalised to [-1, 1].
  • ACT (tonyzhaozh/act, MIT): one .hdf5 file per episode with /observations/qpos and /observations/qvel (14 values each for the bimanual ALOHA arms), /observations/images/<camera> as uint8 arrays of shape (T, 480, 640, 3), and /action (14 values) (record_sim_episodes.py).

Egocentric datasets usually keep video as MP4 and put kinematics in HDF5:

  • Apple EgoDex (paper, 2025): 829 hours of 1080p, 30 Hz video from Apple Vision Pro, 338,000 episodes across 194 tasks. Each MP4 is paired with an HDF5 file holding camera intrinsics and extrinsics at 30 Hz, poses for all upper-body joints including 25 joints per hand, stored as “SE(3) poses (represented as 4 × 4 homogeneous transformation matrices)”, and per-joint confidences between 0 and 1. Uncompressed, the paper says, the data would exceed 500 TB, about 250 times its compressed size; training decodes only the sampled frames with PyTorch torchcodec.
  • Ropedia Xperience-10M (dataset card): each episode has six MP4 streams (fisheye_cam0.mp4–fisheye_cam3.mp4, stereo_left.mp4, stereo_right.mp4) and one annotation.hdf5 with groups for calibration/, slam/ (quat_wxyz, trans_xyz, point_cloud), depth/, hand_mocap/, full_body_mocap/, imu/ and captions.
  • GenRobot DAS (DAS-Sample-Data, MIT): converted from MCAP to one .h5 per episode with das-datakit. Unlike the two above, images are stored inside the file as uint8 arrays under observations/cameras/ with gzip compression, next to observations/eef_pos ([Pos_X, Pos_Y, Pos_Z, Q_X, Q_Y, Q_Z, Q_W, Gripper_width]), observations/imu, an estimated depth map and action.

Zarr splits n-dimensional arrays into compressed chunks that can be read in parallel from disk, a zip file or a cloud bucket. For training, note that “Because the data is compressed at the chunk-level, within-chunk reads are not possible”, so chunk shapes should match how the loader reads (Zarr intro, Cloud-Native Geospatial guide). In Zarr format 3 the sharding codec stores several chunks in one object, avoiding millions of tiny files. zarr-python 3 creates format-3 arrays by default; set zarr_format=2 for older readers (zarr-python, MIT; latest release 3.4.2, October 2026). The UMI code generates a dataset.zarr.zip replay buffer from its SLAM output and trains Diffusion Policy on it (real-stanford/universal_manipulation_interface).

WebDataset suits large video corpora read sequentially. Build AI’s Egocentric-10K (10,000 hours, 192,900 clips, 16.4 TB, 85 factories, 1080p) and Egocentric-100K (100,405 hours, 2,010,759 clips, 24.79 TB, 456 × 256) pack .mp4 and .json pairs into .tar shards of up to 1 GB, with one intrinsics.json (fisheye model, k1–k4) per worker folder outside the shards. These are monocular clips without poses or actions, used for video pretraining.

Per-clip folders: a vendor’s delivery layout

Section titled “Per-clip folders: a vendor’s delivery layout”

Not every delivery uses one of the formats above. Build AI, which released Egocentric-10K and Egocentric-100K as WebDataset shards, sells head-camera video of manual work and documents the files of a delivery in its shop’s technical docs: “Clips arrive as one folder each, with a manifest of every clip at the root.” A clip is “Three minutes of head-camera video of one person at work, with the head IMU recorded alongside”, from a mono device or a stereo one. The docs were read on 22 November 2026; we have not opened the files themselves.

Content Mono clip Stereo clip
Video video.mp4 left.mp4, right.mp4
IMU imu.txt imu.bin
Calibration camera.json calibration.json
Hand pose hand_pose.npz hand_pose_left.npz, hand_pose_right.npz (one file per eye, both hands in each)
Head pose camera_pose.npz camera_pose.npz
Text caption.json caption.json
Metadata metadata.json metadata.json

What the same docs say each part holds:

Part Mono Stereo
Video 1920 × 1080, 30 fps, HEVC, fisheye “About 150° horizontal, 88° vertical, 164° diagonal.” 1920 × 1080 per eye, 33.3 fps, HEVC, cameras “about 70 mm apart”, “Hardware-synchronised: frame N of the left eye and frame N of the right eye were exposed together.”
IMU “One sample per video frame (30 Hz)”; gyroscope in rad/s, accelerometer in m/s², “gravity included” 800 Hz, same units; “Video and IMU share one device clock. The camera-to-IMU time offset is in the calibration file and is well under 1 ms.”
Calibration Kannala-Brandt with 4 coefficients, “Nominal for the device model, not measured per unit.” Per device and per eye: “the factory model (unified omnidirectional with radial-tangential distortion) and a fisheye fit (Kannala-Brandt, 4 coefficients), with the fit error”, the left-to-right transform, and the camera-to-IMU transform “for each eye, in metres”
Head pose One pose per video frame, quaternion [x, y, z, w] and translation, relative to “the camera at the start of the clip”; scale “Estimated from one camera. Treat distances as approximate.” One pose per frame of the left camera “in a world frame level with gravity (camera to world): z up, origin at the left camera on the first frame”; scale “Metric, from the stereo baseline and the 800 Hz IMU.”
Hand pose 21 joints per hand per frame “in metres, in camera coordinates: x right, y down, z forward”; “a mask per joint and frame marks positions not to use” The same, “One estimate per eye, each in that eye’s camera coordinates.”
Text A clip caption, tasks with start and end in seconds, and, at the dense level, “What the left hand and the right hand each do, as short timed phrases” The same levels

Three conventions in those docs are worth copying into any delivery of your own:

  • Row i is frame i. “Row i of a per-frame file is video frame i, at i / fps seconds. Use the file’s own fps, not the video container’s”.
  • Masked values look valid. “Masked values are still finite numbers, so apply the mask first.”
  • Say what a pose is. The hand pose is described as “An estimate fitted from the image, not a depth measurement. It can contain errors, most often when a hand is hidden.”

The free sample clips use a different layout from a delivery: one .json file per layer (hands_3d.json, hands_2d.json, head_pose.json, imu.json, tasks.json, hand_captions.json) in a folder per clip, with the video in H.264, the IMU at 30 Hz and both stereo eyes side by side in one 3840 × 1080 file. The docs add: “We have also delivered in MCAP and LeRobot layouts.”

MCAP as a distribution and curation format

Section titled “MCAP as a distribution and curation format”

LeRobot flattens an episode into fixed-rate rows aligned to video frames; MCAP keeps every stream at its own rate: “MCAP is a modular container file format for recording timestamped pub/sub messages with arbitrary serialization formats” (MCAP specification). It is also the default storage plugin of rosbag2 (the alternative is sqlite3), and rosbag2’s README notes that MCAP’s own compression keeps files indexable, while rosbag2’s file-level compression does not (rosbag2 README). Three properties make it useful before training:

  1. Embedded schemas. Each file carries its Schema and Channel records, repeated in the summary section. Voxel51, loading Lightwheel’s EgoSuite-Open100K, notes: “Because MCAP embeds its own Protobuf schemas, FiftyOne decodes Lightwheel’s custom pose and annotation message types with no .proto files, no SDK, and no ROS or Foxglove toolchain.” (EgoSuite Open100K in FiftyOne).
  2. Filtering without decoding video. Reading only the schema records, the same pipeline derives flags such as has_image, has_hand_pose and has_body_pose to select episodes by modality.
  3. Per-device topics and validity flags. In GenRobot’s DAS Ego recordings the headband is robot0 and the hand devices robot1 and robot2. Topics include /robot0/sensor/camera0/compressed onwards (H.264), camera_info calibration, /robot0/sensor/imu, VIO poses (eef_pose), hand tracking (/robot0/handtracking/left), and quality flags /robot0/frame_validity and /robot0/time_range_validity. Gen-HumanEgo (1,847.7 hours, 44,632 episodes, CC BY-SA 4.0) ships this way.

Representing human egocentric data as states and actions

Section titled “Representing human egocentric data as states and actions”

In a teleoperated robot dataset, state and action come from the robot. DROID’s port defines observation.state and action as 8-dimensional float32 vectors, “joints + gripper” (Porting datasets to v3). Human capture has no robot. As RoboX’s card puts it: “No robot retargeting is applied. target_embodiment is null and no robot telemetry is present.” Pipelines build proxy states and actions from hand pose, world-space hand tracking, SLAM head poses or gripper encoders (UMI actions and policies).

Dataset or paper Storage State Action Frame and normalisation
RoboX lerobot-dataset LeRobot v3.0 float32 [15]: wrist (x, y, z) in metres, unit quaternion (qx, qy, qz, qw), 5 finger curls in 0–1, 3 thumb pinch distances float32 [14]: per-frame delta to the next frame; wrist rotation as a 3-D rotation vector Egocentric camera frame; MEAN_STD, with quaternion indices [3, 4, 5, 6] excluded
EgoDex MP4 + HDF5 SE(3) poses of upper-body joints, 25 per hand, with confidences 48-D per step: 2 hands × (3-D wrist position + 6-D wrist orientation + 5 × 3-D fingertip positions), predicted in chunks Current camera frame; each chunk a relative trajectory
EgoVerse EgoDB → EgoVerseDataset 21 keypoints per hand in the camera frame, plus 6-DoF head pose from visual-inertial SLAM 100 future steps resampled from a 1 s human window (1.5 s for robots) Quantile normalisation: 1st and 99th percentiles to [-1, 1]
EgoMI Fine-tuning π0 29-D: per hand 6-D rotation + 3-D position + 1-D gripper; head 6-D rotation + 3-D position 29-D relative Cartesian Origin aligned to the initial head position and the circular mean of the grippers’ yaw

Rotation deltas and quaternion normalisation

Section titled “Rotation deltas and quaternion normalisation”

Subtracting two quaternions does not give a valid rotation change; RoboX’s action uses “a 3-D relative rotation vector rotvec(q[t+1] . inverse(q[t])) rather than a quaternion subtraction.” Mean/std scaling would also break a quaternion’s unit norm, which is why RoboX excludes indices [3, 4, 5, 6] from it (RoboX lerobot-dataset).

Hand poses from a head camera are in a moving camera frame, so future poses left in their own frames mix hand motion with head motion. EgoMimic and EgoVerse use SLAM poses to express every future hand pose in the camera frame at the current time t:

a_{t+i} = inverse(T_world_cam(t)) · T_world_cam(t+i) · p_hand(t+i) for i = 1 .. k
Removing head motion from hand actions Three top-down panels. Left, the scene: between time t and a later time t+i the wearer turns the head, so the head camera points in a new direction, while the hand stays still in the world. Middle, hand positions left in each frame's own camera coordinates: at t the hand is straight ahead, at t+i it appears off to one side, so an action computed this way shows the hand moving when only the head moved. Right, the same positions re-expressed in the camera frame at t using the SLAM camera poses: both land on the same point and the action is zero, as it should be. The formula used by EgoMimic and EgoVerse is shown below: a at t+i equals the inverse of T_world_cam at t, times T_world_cam at t+i, times p_hand at t+i, for i from 1 to k. Schematic. The head turns, the hand stays still: what the action should say 1. Scene, from above 2. Each frame's own camera 3. Camera frame at time t hand (still) t t+i head turns between t and t+i p(t) p(t+i) looks like the hand moved: head motion leaks into the action same point SLAM poses undo the turn: action is zero, as it should be a(t+i) = inverse(T_world_cam(t)) · T_world_cam(t+i) · p_hand(t+i) for i = 1 … k; T_world_cam from SLAM on the head camera (EgoMimic, EgoVerse)
Why hand actions from a head camera need the camera's SLAM poses. If the wearer turns their head while the hand stays still, hand positions left in each frame's own camera coordinates appear to move, so head motion leaks into the action. Re-expressing every future hand pose in the camera frame at the current time t, using the SLAM poses as EgoMimic and EgoVerse do, puts a still hand at the same point and gives a zero action. Schematic, top-down.

EgoVerse notes: “Due to inherent differences in execution speed between humans and robot teleoperation, we apply post-processing to temporally align action trajectories across embodiments.” It takes a 1-second human window and a 1.5-second robot window, resamples both to 100 steps (linear interpolation for positions, SLERP for rotations), and normalises each embodiment separately. EgoMimic, with human data at 30 Hz and robot data at 50 Hz, uses a 1-second human horizon and a 4-second robot horizon, both as 100-step chunks, and Z-score normalises hand and robot data separately. In its ablation (Table IV), removing action normalisation dropped the Object-in-Bowl score from 128 to 79 points.

Task, subtask and failure-recovery columns

Section titled “Task, subtask and failure-recovery columns”

In LeRobot each frame’s task_index points to one natural-language task in meta/tasks.parquet. MundoAI-Robotics-Sample adds per-frame columns subtask_text, task_type, outcome, reasoning, reflection, subtask_id, parent_subtask_id and resumes_subtask_id, so a retry links back to the attempt it repeats (in its countertop-scrubbing episode, st_015 → st_009 → ... across 1,933 frames). A loader can keep clean passes or train on whole recovery chains. See Annotation Types.

Downstream use Export Why
PyTorch imitation learning, VLA training, Hub release LeRobotDataset v3.0 Few large files; delta_timestamps, streaming and GPU augmentation built in.
Inspection, curation, ROS 2 / Foxglove / FiftyOne MCAP Keeps native sensor rates, embedded schemas and calibration attachments.
Public release serving curation and training MCAP + LeRobot v3.0 What Lightwheel does; say on the card that both are the same episodes.
Dense per-frame skeletons, depth, SLAM MP4 + HDF5, or Zarr Video stays hardware-decodable; arrays stay in one indexed file or store.
Video-only pretraining at 10,000+ hours WebDataset Sequential streaming of .tar shards with little metadata overhead.
Hand-over of clips with per-frame poses to a buyer with no fixed tooling Per-clip folders of MP4, NumPy and JSON Opens with standard libraries; state units, frames, masks and the frame-to-row rule in a document beside it.
Write a Python script that converts a folder of egocentric episodes (left and right stereo MP4 files,
a 30 Hz hand-pose array in the camera frame, a 30 Hz SLAM head-pose array of 4x4 matrices, and a task
string) into a LeRobotDataset v3.0 dataset with the lerobot library. Express future hand poses in the
current camera frame using the SLAM poses. Make the wrist rotation action a rotation vector of
q[t+1] * inverse(q[t]), not a quaternion difference. Call save_episode() after each episode and
dataset.finalize() in a finally block. Write stereo calibration to meta/calibrations/<device_id>.json.