You need to agree to share your contact information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

OmniContact Dataset: Contact-Rich Humanoid Object Interaction

Project Page

This dataset contains human-object interaction motion capture data and processed G1 humanoid trajectories for contact-rich box manipulation and soccer-style interactions. The main entry point is the provided visualizer, which lets users inspect the processed NPZ trajectory, original BVH motion, object pose, and contact labels side by side.

Carry box BVH source
G1 retarget
Push box BVH source
G1 retarget
Slide box BVH source
G1 retarget
Kick ball BVH source
G1 retarget
Carry ball BVH source G1 retarget

Dataset Structure

Subset Description Source Data Processed Trajectories
npz/box/carry_case_1_4/ G1 trajectories for carrying boxes. In-house MoCap 388
npz/box/punt_case_1_2/ G1 trajectories for punting boxes with foot contact. In-house MoCap 118
npz/box/push_case_1_3/ G1 trajectories for pushing boxes with hand contact. In-house MoCap 211
npz/soccer/case1_forward/ Forward soccer-ball kicking motions. In-house MoCap 30
npz/soccer/case2_r2l/ Soccer-ball interaction from right to left. In-house MoCap 30
npz/soccer/case3_l2r/ Soccer-ball interaction from left to right. In-house MoCap 30
npz/soccer/case4_carry/ Carrying the soccer ball. In-house MoCap 51
npz/soccer/case5_pickball_kick/ Picking up and kicking the soccer ball. In-house MoCap 59
Total 917

Additional directories:

  • raw_mocap/box/ and raw_mocap/soccer/ contain sanitized source captures with motion_actor.bvh, motion_actor.csv, object_pose_*.csv, and capture_meta.json.
  • assets/ contains the G1 URDF and object meshes used by the visualizer.
  • bvh_cache/ contains cached BVH parses for faster loading.
  • metadata/raw_mocap_manifest.csv maps capture IDs to cases and raw files.
  • metadata/splits.csv provides the recommended 70/15/15 train/val/test split.
  • demo/mocap_task_videos/ contains one rendered mocap preview video for each task.
  • demo/g1_videos/ contains recorded G1 trajectory previews for matched examples.
  • demo/g1_glbs/ contains uploadable G1 GLB previews exported from processed .npz trajectories.

Data Format

Each processed .npz file contains one trajectory. Common keys include:

  • fps: Frames per second.
  • base_pos_w: Floating-base position, shape [T, 3].
  • base_quat_w: Floating-base orientation in wxyz order, shape [T, 4].
  • joint_pos: G1 joint positions, shape [T, 29].
  • body_pos_w: Body positions, shape [T, 39, 3].
  • body_quat_w: Body orientations in wxyz order, shape [T, 39, 4].
  • object_pos_w: Object position, shape [T, 3].
  • object_quat_w: Object orientation in wxyz order, shape [T, 4].
  • contact_info: Binary contact labels, shape [T, 4, 1].

The contact-label order is:

left_ankle, right_ankle, left_wrist, right_wrist

Raw mocap folders keep only the files needed to reconstruct motion and object pose. Operator metadata, internal configs, logs, validation reports, quality reports, and ZIP files are excluded.

Quick Usage

# After cloning or downloading this dataset
pip install numpy
import numpy as np

path = "npz/box/carry_case_1_4/20260330000166_1_1775007076_with_contact.npz"
with np.load(path, allow_pickle=False) as data:
    joint_pos = data["joint_pos"]          # (T, 29)
    base_pos = data["base_pos_w"]          # (T, 3)
    base_quat = data["base_quat_w"]        # (T, 4), wxyz
    object_pos = data["object_pos_w"]      # (T, 3)
    contact = data["contact_info"]         # (T, 4, 1)
    fps = float(data["fps"][0])

Use metadata/splits.csv to select the recommended train/val/test split by capture_id.

Visualize

The repository provides visualize_npz_bvh_minimal.py, a local browser visualizer based on Viser. It shows the processed G1 trajectory, original BVH skeleton, object pose, and contact highlights in one scene.

# Install visualization dependencies
pip install numpy viser yourdfpy scipy

Box example:

python visualize_npz_bvh_minimal.py \
  --npz npz/box/carry_case_1_4/20260330000166_1_1775007076_with_contact.npz \
  --bvh raw_mocap/box/carry_case_1_4/20260330000166_1_1775007076/motion_actor.bvh \
  --object-mesh assets/objects/Box_H1/Box_H_1.obj \
  --object-mesh-scale 0.01 \
  --port 8092

Soccer example:

python visualize_npz_bvh_minimal.py \
  --npz npz/soccer/case1_forward/20260330000511_1_1775214317_with_contact.npz \
  --bvh raw_mocap/soccer/case1_forward/20260330000511_1_1775214317/motion_actor.bvh \
  --object-mesh assets/objects/soccer/ScoccerBall_A_1.obj \
  --object-mesh-scale 0.01 \
  --port 8092

Then open http://localhost:8092.

To browse all matched NPZ/BVH samples:

python visualize_npz_bvh_minimal.py \
  --npz npz \
  --bvh raw_mocap \
  --port 8092

Useful options:

  • --max-frames 600: load a short prefix for quick inspection.
  • --playback-speed 0.5: slow down playback.
  • --sync-mode frame: synchronize NPZ and BVH by frame index.
  • --align-roots: align the first BVH root to the first NPZ root.
  • --npz-offset 1 0 0 or --bvh-offset -1 0 0: separate overlays spatially.

Citation

@misc{yu2026omnicontactchainingmetaskillscontact,
      title={OmniContact: Chaining Meta-Skills via Contact Flow for Generalizable Humanoid Loco-Manipulation}, 
      author={Runyi Yu and Xiaoyi Lin and Ji Ma and Yinhuai Wang and Koukou Luo and Jiahao Ji and Huayi Wang and Wenjia Wang and Runhan Zhang and Ping Tan and Ting Wu and Ruoli Dai and Qifeng Chen and Lei Han},
      year={2026},
      eprint={2606.26201},
      archivePrefix={arXiv},
      primaryClass={cs.RO},
      url={https://arxiv.org/abs/2606.26201}, 
}
Downloads last month
5

Paper for lightcone02/OmniContact-Dataset