weiwei23's picture
Dataset card
e7a2066 verified
|
Raw History Blame Contribute Delete
5.89 kB
---
license: apache-2.0
task_categories:
- robotics
language:
- en
tags:
- LeRobot
- so101
- isaac-sim
- simulation
- dice
- language-conditioned
pretty_name: DicePilot rotate sim demonstrations v2
size_categories:
- 100K<n<1M
configs:
- config_name: default
data_files: data/*/*.parquet
---
# DicePilot rotate demonstrations (sim, scene v2)
Scripted-expert demonstrations of one skill: an SO-101 arm picks the named die, turns it a quarter turn about the
vertical axis in the air and puts it back down on the mat with the same number on top. Recorded in Isaac Sim for the
DicePilot project (TRC 2026 Robot Learning track) to train a rotate skill policy; the same skill appears inside the
two-operation episodes of `weiwei23/dicepilot_l12_sim_v2` and in `weiwei23/dicepilot_l3_sim_v2`.
All data is simulated. No real-robot footage is included.
## Contents
| | |
|---|---|
| Episodes | 300: 226 clockwise, 74 counter-clockwise (seen from above) |
| Frames | 114,300 at 30 fps (64 min); every episode is 381 frames (grasp, rotate and put down, return home) |
| Cameras | `side` (fixed, RealSense D455 pose on the lightbox wall), `wrist` (gripper camera), 640 x 480 |
| Instructions | English skill commands, e.g. "Turn the red die a quarter turn counter-clockwise."; target named by colour (153), top number (36) or both (111) |
| Format | LeRobot dataset v3.0, robot type `so101_follower` |
The episodes come from three recording runs, merged in this order (`source` in `dicepilot/episodes.jsonl` gives the
run and the original episode index):
| Run | Seed | Episodes | Turns |
|---|---|---|---|
| `dicepilot_rot_sim_v2_wood` | 23 | 150 | 76 clockwise, 74 counter-clockwise |
| `dicepilot_rot_sim_v2_wood_cw_a` | 24 | 75 | clockwise only |
| `dicepilot_rot_sim_v2_wood_cw_b` | 25 | 75 | clockwise only |
The two clockwise-only runs were added because a rotate policy trained on the first run failed on clockwise scenes
whose final wrist roll lay outside the range those demonstrations covered. Draw a balanced subset if the direction
mix matters for your use.
## Scene
Scene v2 (`dicepilot_scene_v2`): five rounded 29 mm wooden numeral dice (red, yellow, green, blue, natural; this
order is the die index in every `privileged.*` field), orange SO-ARM101, black EVA mat, white taped zone, inside the
NVIDIA Sim-to-Real SO-101 Workshop lightbox. The dice are numbered like the real wooden dice: opposite faces sum to
7, and with 1 on top and 2 facing you, 4 is on the right. Dice positions and orientations, die mass (13-17 g) and
friction, light exposure, side-camera mount (about 1.5 cm and 2 deg) and the arm's start pose are randomised per
episode. The expert is an IK planner with full state.
Success (checked from simulator state, every recorded episode passed): the die is back on the mat with the same
number on top, its yaw changed by the commanded quarter turn within 15 deg, and no other die moved.
## Features
| Feature | Shape | Meaning |
|---|---|---|
| `observation.images.side` / `wrist` | 480 x 640 x 3 video | camera images |
| `observation.state` | 6 | measured joints in LeRobot SO-101 units (arm -100..100, gripper 0..100) |
| `action` | 6 | joint targets for the next 1/30 s, same units |
| `task` | text | the instruction for this episode |
| `privileged.dice_pos` | 15 | xyz of the five dice in metres (robot base at (-0.05, 0, 0), +x away from the robot, +y towards the side camera, z up) |
| `privileged.dice_quat` | 20 | orientation of the five dice, (w, x, y, z) |
| `privileged.dice_faces` | 30 | number on (top, bottom, front, back, left, right) of each die; front faces the robot, left faces the side camera |
| `privileged.ee_pos` | 3 | grip point between the fingers, metres |
| `annotation.level`, `target_index`, `goal_face` | 1 each | stored as a Level 2 task; goal face = the start top number |
| `annotation.phase`, `skill` | 1 each | index into the lists in `dicepilot/vocab.json`; skills are grasp, move, place, rotate, flip, home, stop |
| `annotation.subtask` | 1 | index into the episode's `subtasks` list in `dicepilot/episodes.jsonl` |
| `annotation.goal_front`, `scenario`, `status`, `injected` | 1 each | Level 3 labels shared with `dicepilot_l3_sim_v2`. Here goal_front is 0, scenario -1 and injected 0 throughout; status is working, then done for the last frames at home |
The commanded turn is `task.turn_deg` in `dicepilot/episodes.jsonl` (-90 clockwise, +90 counter-clockwise), and the
achieved turn is `report.turned_deg`. Frame t is the observation before action t is applied. `privileged.*` and
`annotation.*` come from the simulator and are meant for labels, relabelling and evaluation, not as policy inputs.
The `dicepilot/` folder holds extra metadata:
- `episodes.jsonl`: one record per episode with the task, the instruction, dice layout, expert operation and plan,
randomisation values, success report, subtask segments (`text`, `skill`, `start`, `end` frame) and `source`.
- `vocab.json`: phase and skill names, face axes, die numbering, units.
- `scene.json`: scene spec and camera intrinsics and poses.
## Loading
```python
from lerobot.datasets.lerobot_dataset import LeRobotDataset
ds = LeRobotDataset("weiwei23/dicepilot_rot_sim_v2")
frame = ds[0]
print(frame["task"], frame["observation.state"], frame["observation.images.side"].shape)
```
`LeRobotDataset` downloads the whole repository, including `dicepilot/`.
## Known limitations
- Clockwise turns outnumber counter-clockwise ones about 3 : 1 (see above).
- The subtask segment named "rotate the die ... and put it down" also covers the put-down; per-frame
`annotation.skill` switches from `rotate` to `place` there. Split by `annotation.skill`.
- Quarter turns only, English commands only, no failure or recovery episodes.
- Friction, die mass and camera poses are assumed values, not measured on the real hardware.