File size: 7,032 Bytes
6ab6bd4
 
 
 
 
 
6099ff5
6ab6bd4
 
 
 
 
 
 
 
73f0089
6ab6bd4
73f0089
 
 
6ab6bd4
6099ff5
6ab6bd4
 
 
 
73f0089
6ab6bd4
73f0089
 
 
 
 
 
 
 
 
 
6ab6bd4
73f0089
6ab6bd4
73f0089
 
6ab6bd4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73f0089
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
220
221
---
license: apache-2.0
task_categories:
- robotics
tags:
- LeRobot
- latchbench
- so101
- isaac-lab-arena
- rj45
configs:
- config_name: default
  data_files: data/*/*.parquet
---

# LatchBench SO-101 RJ45 insertion, v0

Simulated demonstrations of an SO-101 arm inserting an RJ45 plug into a 3-port network switch, recorded in
[LatchBench](https://github.com/UD-Y/latchbench) (Isaac Lab-Arena, PhysX) and stored in LeRobot v3 format with the real SO-101 conventions
(joint names, degrees, 30 fps).

<a class="flex" href="https://huggingface.co/spaces/lerobot/visualize_dataset?path=UD77/latchbench-so101-v0">
<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>

## Contents

- 600 episodes, all successful (the latch clicked): 100 per port on the loose (+0.50 mm) and medium (+0.25 mm)
  clearance tiers.
- Recorded from the open-loop expert, given the exact port pose. Every episode is a straight push into the port. There is no search and no reaction to contact.
- `observation.state` holds the 6 joint positions in degrees. `action` holds the 6 joint goal positions in degrees.
- `observation.images.front` and `observation.images.wrist`: 480x640 video.
- `observation.servo_load` and `observation.servo_current`: the simulated STS3215 `Present_Load` (signed, 0.1 % PWM
  duty per count) and `Present_Current` (6.5 mA per count) registers, decoded the way LeRobot reads them on a real
  arm ([servosense](https://github.com/UD-Y/servosense)).
- `task`: "insert the cable into the left / middle / right port".
- `meta/latchbench_episodes.jsonl`: tier, port, seed and raw-file index per episode.

This is the dataset behind the v0 GR00T fine-tune, which never latched (0 of 150 evaluation episodes). The demonstrations work only because the expert knew the port position exactly, so they give a policy nothing contact-driven to learn. See the GR00T section of the LatchBench README for the full story. Model: [UD77/latchbench-groot-n17](https://huggingface.co/UD77/latchbench-groot-n17).

Limits: everything is simulated, the plug is rigidly attached to the gripper, and mapping these joint values to a
real arm needs that arm's LeRobot calibration file.

## Dataset Structure

[meta/info.json](meta/info.json):
```json
{
    "codebase_version": "v3.0",
    "fps": 30,
    "features": {
        "observation.state": {
            "dtype": "float32",
            "shape": [
                6
            ],
            "names": [
                "shoulder_pan.pos",
                "shoulder_lift.pos",
                "elbow_flex.pos",
                "wrist_flex.pos",
                "wrist_roll.pos",
                "gripper.pos"
            ]
        },
        "action": {
            "dtype": "float32",
            "shape": [
                6
            ],
            "names": [
                "shoulder_pan.pos",
                "shoulder_lift.pos",
                "elbow_flex.pos",
                "wrist_flex.pos",
                "wrist_roll.pos",
                "gripper.pos"
            ]
        },
        "observation.images.front": {
            "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.fps": 30,
                "video.channels": 3,
                "has_audio": false,
                "video.g": 2,
                "video.crf": 30,
                "video.preset": null,
                "video.fast_decode": 0,
                "video.video_backend": "pyav",
                "video.extra_options": {},
                "is_depth_map": false
            }
        },
        "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.fps": 30,
                "video.channels": 3,
                "has_audio": false,
                "video.g": 2,
                "video.crf": 30,
                "video.preset": null,
                "video.fast_decode": 0,
                "video.video_backend": "pyav",
                "video.extra_options": {},
                "is_depth_map": false
            }
        },
        "observation.servo_load": {
            "dtype": "int32",
            "shape": [
                6
            ],
            "names": [
                "shoulder_pan.load",
                "shoulder_lift.load",
                "elbow_flex.load",
                "wrist_flex.load",
                "wrist_roll.load",
                "gripper.load"
            ]
        },
        "observation.servo_current": {
            "dtype": "int32",
            "shape": [
                6
            ],
            "names": [
                "shoulder_pan.current",
                "shoulder_lift.current",
                "elbow_flex.current",
                "wrist_flex.current",
                "wrist_roll.current",
                "gripper.current"
            ]
        },
        "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
        }
    },
    "total_episodes": 600,
    "total_frames": 94848,
    "total_tasks": 3,
    "chunks_size": 1000,
    "data_files_size_in_mb": 100,
    "video_files_size_in_mb": 200,
    "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",
    "robot_type": "so101_follower",
    "splits": {
        "train": "0:600"
    }
}
```

## Citation

If you use this dataset, please cite the LatchBench repository: https://github.com/UD-Y/latchbench