Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -4,120 +4,17 @@ tags:
|
|
| 4 |
- robotics
|
| 5 |
- manipulation
|
| 6 |
- lerobot
|
| 7 |
-
- ros2
|
| 8 |
-
- dual-arm
|
| 9 |
-
- robot-learning
|
| 10 |
-
size_categories:
|
| 11 |
-
- 1K<n<10K
|
| 12 |
---
|
| 13 |
|
| 14 |
# Robot Manipulation Dataset
|
| 15 |
|
| 16 |
-
A LeRobot-compatible dataset
|
| 17 |
|
| 18 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
- **Duration**: 31.04 seconds
|
| 23 |
-
- **FPS**: 100.03
|
| 24 |
-
- **Robot Type**: Dual-arm robot with 34 joints
|
| 25 |
-
- **Tasks**: Various manipulation tasks
|
| 26 |
-
|
| 27 |
-
## Features
|
| 28 |
-
|
| 29 |
-
- **Action**: 34 joint positions (float32)
|
| 30 |
-
- **Observation.state**: 34 joint positions (float32)
|
| 31 |
-
- **Timestamp**: Relative timestamps (float32)
|
| 32 |
-
- **Episode/Frame indices**: Proper indexing
|
| 33 |
-
- **Task descriptions**: Human-readable task names
|
| 34 |
-
|
| 35 |
-
## Joint Configuration
|
| 36 |
-
|
| 37 |
-
The dataset includes 34 joints:
|
| 38 |
-
- Arm1: shoulder_pan, shoulder_lift, elbow, wrist_1, wrist_2, wrist_3
|
| 39 |
-
- Arm2: shoulder_pan, shoulder_lift, elbow, wrist_1, wrist_2, wrist_3
|
| 40 |
-
- Gripper joints: Various finger and palm joints
|
| 41 |
-
|
| 42 |
-
## Episodes
|
| 43 |
-
|
| 44 |
-
| Episode | Frames | Task | Duration |
|
| 45 |
-
|---------|--------|------|----------|
|
| 46 |
-
| 0 | 405 | Put the marker in the blue bin | 4.04s |
|
| 47 |
-
| 1 | 254 | Place the object in the container | 2.53s |
|
| 48 |
-
| 2 | 262 | Move the item to the target location | 2.62s |
|
| 49 |
-
| 3 | 304 | Position the marker correctly | 3.04s |
|
| 50 |
-
| 4 | 277 | Complete the manipulation task | 2.77s |
|
| 51 |
-
| 5 | 279 | Put the marker in the blue bin | 2.79s |
|
| 52 |
-
| 6 | 329 | Place the object in the container | 3.29s |
|
| 53 |
-
| 7 | 357 | Move the item to the target location | 3.57s |
|
| 54 |
-
| 8 | 438 | Position the marker correctly | 4.38s |
|
| 55 |
-
|
| 56 |
-
## Usage
|
| 57 |
-
|
| 58 |
-
### LeRobot Visualizer
|
| 59 |
-
View the dataset interactively:
|
| 60 |
-
```
|
| 61 |
-
https://huggingface.co/spaces/lerobot/visualize_dataset?path=%2FSraghvi%2Fworking-detailed-stats-fixed%2Fepisode_0
|
| 62 |
-
```
|
| 63 |
-
|
| 64 |
-
### Python
|
| 65 |
-
```python
|
| 66 |
-
from datasets import load_dataset
|
| 67 |
-
|
| 68 |
-
# Load the dataset
|
| 69 |
-
dataset = load_dataset('Sraghvi/working-detailed-stats-fixed')
|
| 70 |
-
|
| 71 |
-
# Access episodes
|
| 72 |
-
episodes = dataset['train']
|
| 73 |
-
print(f'Loaded {len(episodes)} frames')
|
| 74 |
-
|
| 75 |
-
# Get first frame
|
| 76 |
-
first_frame = episodes[0]
|
| 77 |
-
print(f'Action shape: {len(first_frame["action"][0])} joints')
|
| 78 |
-
print(f'Timestamp: {first_frame["timestamp"]}s')
|
| 79 |
-
```
|
| 80 |
-
|
| 81 |
-
## Data Format
|
| 82 |
-
|
| 83 |
-
Each frame contains:
|
| 84 |
-
- `action`: Target joint positions (34 joints)
|
| 85 |
-
- `observation.state`: Current joint positions (34 joints)
|
| 86 |
-
- `timestamp`: Relative time from episode start
|
| 87 |
-
- `episode_index`: Episode number (0-8)
|
| 88 |
-
- `frame_index`: Frame number within episode
|
| 89 |
-
- `index`: Global frame index
|
| 90 |
-
- `task_index`: Task identifier
|
| 91 |
-
|
| 92 |
-
## Statistics
|
| 93 |
-
|
| 94 |
-
The dataset includes comprehensive statistics for each episode:
|
| 95 |
-
- Min/max/mean/std for all joint values
|
| 96 |
-
- Timestamp ranges and distributions
|
| 97 |
-
- Frame count and indexing
|
| 98 |
-
- Mock image statistics (ready for real camera data)
|
| 99 |
-
|
| 100 |
-
## Generation
|
| 101 |
-
|
| 102 |
-
This dataset was created using an automatic ROS2 to LeRobot pipeline that:
|
| 103 |
-
1. Parses ROS2 bag files
|
| 104 |
-
2. Extracts joint state data
|
| 105 |
-
3. Creates realistic episode splits
|
| 106 |
-
4. Generates comprehensive metadata
|
| 107 |
-
5. Uploads to HuggingFace Hub
|
| 108 |
-
|
| 109 |
-
## License
|
| 110 |
-
|
| 111 |
-
MIT License - See LICENSE file for details.
|
| 112 |
-
|
| 113 |
-
## Citation
|
| 114 |
-
|
| 115 |
-
If you use this dataset, please cite:
|
| 116 |
-
```bibtex
|
| 117 |
-
@dataset{working_detailed_stats_fixed,
|
| 118 |
-
title={Robot Manipulation Dataset from ROS2 Bag},
|
| 119 |
-
author={Sraghvi},
|
| 120 |
-
year={2024},
|
| 121 |
-
url={https://huggingface.co/datasets/Sraghvi/working-detailed-stats-fixed}
|
| 122 |
-
}
|
| 123 |
-
```
|
|
|
|
| 4 |
- robotics
|
| 5 |
- manipulation
|
| 6 |
- lerobot
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
---
|
| 8 |
|
| 9 |
# Robot Manipulation Dataset
|
| 10 |
|
| 11 |
+
A LeRobot-compatible dataset with 9 episodes and 2,905 frames.
|
| 12 |
|
| 13 |
+
## Quick Stats
|
| 14 |
+
- Episodes: 9
|
| 15 |
+
- Frames: 2,905
|
| 16 |
+
- Joints: 34
|
| 17 |
+
- Duration: 31.04s
|
| 18 |
|
| 19 |
+
## View Dataset
|
| 20 |
+
[Open in LeRobot Visualizer](https://huggingface.co/spaces/lerobot/visualize_dataset?path=%2FSraghvi%2Fworking-detailed-stats-fixed%2Fepisode_0)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|