Pika Sim β Pick & Place Dataset
Simulated pick-and-place dataset generated with MuJoCo using the Agilex Pika gripper model.
Overview
| Episodes | 500 |
| Steps per episode | 149 |
| Success rate | 100% |
| Record frequency | 20 Hz |
| Sim timestep | 1 ms |
| Simulator | MuJoCo β₯ 3.0 |
Task
A parallel-jaw gripper on a 3-DOF Cartesian gantry picks up a cube from a randomized position and places it at a randomized target location on a table. Positions are randomized per episode (seed 42).
Dataset Structure
dataset/
βββ episodes/
β βββ episode_NNNN.h5 # 500 HDF5 files
βββ videos/
βββ wrist_cam_NNNN.mp4 # 500 wrist camera videos (640Γ480, 20fps)
HDF5 Schema
Each episode_NNNN.h5 contains:
βββ actions/
β βββ ee_pose (149, 7) float32 # target xyz + quaternion (wxyz)
β βββ gripper (149, 1) float32 # 0.0 = open, 1.0 = closed
βββ observations/
β βββ ee_pose (149, 7) float32 # current xyz + quaternion (wxyz)
β βββ gripper_width (149, 1) float32 # meters, 0.0β0.087
β βββ timestamp (149,) float64 # seconds since episode start
βββ videos/
β βββ wrist_cam (149,) int64 # frame indices into wrist_cam_NNNN.mp4
βββ env_state () str/JSON # pick/place positions, cube final pose, error
βββ success () bool
βββ episode_length () int64
Conventions
| Convention | Value |
|---|---|
| Action frame | World absolute |
| Observation frame | World absolute |
| Quaternion format | wxyz (constant β no rotation DOF) |
| Gripper action | 0 = open, 1 = closed |
| Gripper max width | 0.087 m (87 mm) |
| Success threshold | < 20 mm placement error |
Loading Example
import h5py
import json
with h5py.File("episodes/episode_0000.h5", "r") as f:
actions_ee = f["actions/ee_pose"][:] # (149, 7)
actions_grip = f["actions/gripper"][:] # (149, 1)
obs_ee = f["observations/ee_pose"][:] # (149, 7)
obs_width = f["observations/gripper_width"][:] # (149, 1)
timestamps = f["observations/timestamp"][:] # (149,)
success = f["success"][()] # bool
env = json.loads(f["env_state"][()]) # dict
print(f"Pick: {env['pick_pos']}, Place: {env['place_pos']}, Error: {env['placement_error_mm']:.1f}mm")
Generation
cd sim/pika_gripper_mujoco_sim
python record_dataset.py --episodes 500 --seed 42
Source: pika_ros (ros2 branch)
- Downloads last month
- 74