File size: 6,695 Bytes
36dc552
 
 
 
 
 
 
b81fa98
 
 
 
 
 
 
 
36dc552
 
 
b81fa98
36dc552
 
 
 
 
b81fa98
36dc552
 
 
 
 
 
 
b81fa98
 
36dc552
 
 
 
 
 
 
 
 
 
b81fa98
36dc552
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b81fa98
36dc552
 
b81fa98
36dc552
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
---
license: apache-2.0
task_categories:
- robotics
tags:
- LeRobot
- chess
- so101
- so-101
- robot-arm
- manipulation
- pick-and-place
- teleoperation
- act
- chess-robot
configs:
- config_name: default
  data_files: data/*/*.parquet
pretty_name: SO-101 Chess Pick, raw recording
---

This dataset was created using [LeRobot](https://github.com/huggingface/lerobot).


<a class="flex" href="https://huggingface.co/spaces/lerobot/visualize_dataset?path=Dev-devadath/so101-chess-pick-raw">
<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/badges/resolve/main/visualize-this-dataset-xl.svg"/>
<img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/badges/resolve/main/visualize-this-dataset-xl-dark.svg"/>
</a>


## Dataset Description

**Robot arm playing chess: teleoperated demos of an SO-101 arm picking chess pieces off a real board.**

**The raw recording: every pick demo of the current round.** 271 episodes, 39,593 frames, wrist + overhead cameras.

Part of [so101-chess](https://github.com/Dev-devadath/so101-chess): an SO-101 arm that plays chess on a real board. Everything except
the grasp is inverse kinematics; a learned ACT policy does only the pick. Every episode starts
with the arm hovering 8 cm above one piece, jaws open and pointing down, and ends with the piece
lifted. Demos were teleoperated with an SO-101 leader arm.

- 30 fps; state and action are 6-D (5 joints + gripper, lerobot degrees, `so_follower`)
- `observation.images.wrist`: gripper camera, 640x480
- `observation.images.top` (where present): overhead camera warped to a top-down board view, 480x480, a1 bottom-left
- Gripper: red TPU V-groove pads glued to both jaws (except `so101-chess-pick-v0`). The pads are in the wrist
  view, so a policy trained here expects them.
- Board: 49 mm squares, ranks 1-5 reachable. White is on the arm's side.
- Recorded with lerobot at commit `5c43fa1c` (0.5.2 dev). Load with `video_backend="pyav"`.

## What is in it

Recorded in five sessions, in this order (episode indices):

| Episodes | What |
|---|---|
| 0-123 | First round on a near-empty board: pawns on all 39 squares, tall pieces, knights/bishops on ranks 4-5 |
| 124-133 | Extra demos on the corner squares d1 and h1 |
| 134-168 | The full starting position, pawns picked with neighbours on both sides |
| 169-228 | Full board, every piece on ranks 1-2 |
| 229-270 | Mid-board (ranks 3-5), including pieces the arm had placed itself (off-centre) |

## Known issues

- **24 bad episodes are still in here**: 6, 18, 48, 50, 83, 89, 101, 102, 107, 110, 120, 121, 135, 140,
  141, 142, 146, 147, 149, 151, 153, 155, 211, 220. Head grabs, demos that never lifted the piece, and
  demos where the fingertips pressed more than 4 mm into the mat. Remove them before training
  (`lerobot.datasets.dataset_tools.delete_episodes`); `Dev-devadath/so101-chess-pick-wrist-v4` is this set
  with them removed.
- **Episodes 0-133 are on a near-empty board.** A policy trained on those alone does not transfer to a
  real game (see `Dev-devadath/so101-chess-pick-v1`).
- The sideways grasp offsets at b1 are 10-16 mm, larger than elsewhere: the taught position of that
  square was probably off when it was recorded.


- **Homepage:** https://github.com/Dev-devadath/so101-chess
- **Paper:** none
- **License:** apache-2.0

## Dataset Structure

[meta/info.json](meta/info.json):
```json
{
    "codebase_version": "v3.0",
    "robot_type": "so_follower",
    "total_episodes": 271,
    "total_frames": 39593,
    "total_tasks": 1,
    "chunks_size": 1000,
    "data_files_size_in_mb": 100,
    "video_files_size_in_mb": 200,
    "fps": 30,
    "splits": {
        "train": "0:271"
    },
    "data_path": "data/chunk-{chunk_index:03d}/file-{file_index:03d}.parquet",
    "video_path": "videos/{video_key}/chunk-{chunk_index:03d}/file-{file_index:03d}.mp4",
    "features": {
        "action": {
            "dtype": "float32",
            "names": [
                "shoulder_pan.pos",
                "shoulder_lift.pos",
                "elbow_flex.pos",
                "wrist_flex.pos",
                "wrist_roll.pos",
                "gripper.pos"
            ],
            "shape": [
                6
            ]
        },
        "observation.state": {
            "dtype": "float32",
            "names": [
                "shoulder_pan.pos",
                "shoulder_lift.pos",
                "elbow_flex.pos",
                "wrist_flex.pos",
                "wrist_roll.pos",
                "gripper.pos"
            ],
            "shape": [
                6
            ]
        },
        "observation.images.wrist": {
            "dtype": "video",
            "shape": [
                480,
                640,
                3
            ],
            "names": [
                "height",
                "width",
                "channels"
            ],
            "info": {
                "video.height": 480,
                "video.width": 640,
                "video.codec": "h264",
                "video.pix_fmt": "yuv420p",
                "video.is_depth_map": false,
                "video.fps": 30,
                "video.channels": 3,
                "has_audio": false
            }
        },
        "observation.images.top": {
            "dtype": "video",
            "shape": [
                480,
                480,
                3
            ],
            "names": [
                "height",
                "width",
                "channels"
            ],
            "info": {
                "video.height": 480,
                "video.width": 480,
                "video.codec": "h264",
                "video.pix_fmt": "yuv420p",
                "video.is_depth_map": false,
                "video.fps": 30,
                "video.channels": 3,
                "has_audio": false
            }
        },
        "timestamp": {
            "dtype": "float32",
            "shape": [
                1
            ],
            "names": null
        },
        "frame_index": {
            "dtype": "int64",
            "shape": [
                1
            ],
            "names": null
        },
        "episode_index": {
            "dtype": "int64",
            "shape": [
                1
            ],
            "names": null
        },
        "index": {
            "dtype": "int64",
            "shape": [
                1
            ],
            "names": null
        },
        "task_index": {
            "dtype": "int64",
            "shape": [
                1
            ],
            "names": null
        }
    }
}
```


## Citation

**BibTeX:**

```bibtex
none
```