benudavis commited on
Commit
e7ca483
·
verified ·
1 Parent(s): 2697ade

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +83 -0
README.md ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - robotics
5
+ tags:
6
+ - LeRobot
7
+ - ur10
8
+ - robotiq
9
+ - tactile
10
+ - cluttered-grasping
11
+ - imitation-learning
12
+ configs:
13
+ - config_name: default
14
+ data_files: data/*/*.parquet
15
+ ---
16
+
17
+ # Cluttered Grasp (UR10 + Robotiq 2F-140 + tactile)
18
+
19
+ Real-robot teleop demonstrations of cluttered grasping. Episodes are gated on
20
+ `gripper_tcp` height in `base_link` (record while low, pause while high), synced
21
+ to the RealSense RGB stream (~15 Hz), then converted to [LeRobot](https://github.com/huggingface/lerobot) format.
22
+
23
+ | | |
24
+ |---|---|
25
+ | **Robot** | UR10 + Robotiq 2F-140 (`ur10_robotiq_2f140`) |
26
+ | **FPS** | 15 |
27
+ | **Episodes** | 5 (rebuild grows over collection days) |
28
+ | **Frames** | 844 |
29
+ | **Codebase** | LeRobot dataset v3.0 |
30
+ | **Task** | `cluttered grasping` |
31
+
32
+ ## Dataset structure
33
+
34
+ ```text
35
+ cluttered_grasping/
36
+ ├── meta/
37
+ │ ├── info.json # schema, fps, totals, video codec info
38
+ │ ├── stats.json # per-feature normalization stats
39
+ │ ├── tasks.parquet # task prompts
40
+ │ └── episodes/ # per-episode metadata
41
+ ├── data/
42
+ │ └── chunk-*/file-*.parquet # state, action, indices
43
+ └── videos/
44
+ ├── observation.images.center_cam/chunk-*/file-*.mp4
45
+ ├── observation.images.tactile_L/chunk-*/file-*.mp4
46
+ └── observation.images.tactile_R/chunk-*/file-*.mp4
47
+ ```
48
+
49
+ ### Features (per frame)
50
+
51
+ | Key | Type | Shape | Description |
52
+ |-----|------|-------|-------------|
53
+ | `observation.state` | float32 | (14,) | `joint_0..5`, `gripper`, `eef_x/y/z`, `eef_qx/qy/qz/qw` |
54
+ | `action` | float32 | (7,) | Absolute **next** `joint_0..5` + `gripper` (last frame of each episode dropped) |
55
+ | `observation.images.center_cam` | video (AV1) | 720×1280×3 | Wrist/scene RealSense RGB |
56
+ | `observation.images.tactile_L` | video (AV1) | 240×320×3 | Left fingertip tactile (JPEG→RGB) |
57
+ | `observation.images.tactile_R` | video (AV1) | 240×320×3 | Right fingertip tactile |
58
+ | `timestamp` | float32 | (1,) | Time within episode (s) |
59
+ | `frame_index` / `episode_index` / `index` / `task_index` | int64 | (1,) | LeRobot indices |
60
+
61
+ `observation.state` EE pose is `gripper_tcp` in `base_link`. Depth and F/T remain in the upstream zarr logs and are **not** in this HF export.
62
+
63
+ ### Episode definition
64
+
65
+ - **Start** when TCP \(z < 0.30\) m
66
+ - **End** when TCP \(z > 0.31\) m
67
+ - No recording between episodes (reset / high)
68
+
69
+ ## Load
70
+
71
+ ```python
72
+ from lerobot.datasets.lerobot_dataset import LeRobotDataset
73
+
74
+ ds = LeRobotDataset("benudavis/cluttered_grasp")
75
+ print(ds)
76
+ frame = ds[0]
77
+ ```
78
+
79
+ ## Collection / conversion notes
80
+
81
+ - ROS bags → one zarr episode per bag (`bag2dataset` under `~/venvs/clutter`, zarr≥3).
82
+ - Offline rebuild: `scripts/zarr_to_lerobot.py` over `~/EDG_Experiment/clutter/**/*.zarr`.
83
+ - Action mode default: `absolute_next` (see `scripts/lerobot_convert/actions.py`).